AutoFeed API

AI Video Generation API

One endpoint for 28 text-to-video and image-to-video models. Choose a model, a length and a resolution; the clip price is fixed per combination and charged in credits.

What the AI Video API returns

  • 28 models, each with its own lengths, resolutions and aspect ratios
  • Text to video, or image to video from an https image URL
  • Combinations a model does not support are rejected before any charge
  • No watermark on the output

One Request

This exact body passes the live API schema and costs 1,000 credits, the same as making it in the dashboard.

Request
curl -X POST https://www.autofeed.ai/api/v1/videos \
  -H "Authorization: Bearer $AUTOFEED_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "ai_video",
    "input": {
      "model": "Wan 3.0",
      "mode": "text_to_video",
      "textPrompt": "A slow dolly shot through a neon-lit night market in the rain, steam rising from food stalls",
      "duration": 5,
      "resolution": "720p",
      "format": "9:16"
    },
    "webhookUrl": "https://example.com/webhooks/autofeed",
    "idempotencyKey": "order-1042-ai-video"
  }'
202 Accepted
{
  "id": "1c9d6c3e-1f5b-4d2e-9c31-2b8b0f0f9a11",
  "type": "ai_video",
  "status": "processing",
  "costInCredits": 1000,
  "createdAt": "2026-11-02T12:00:00.000Z"
}
Webhook: video.completed
{
  "id": "1c9d6c3e-1f5b-4d2e-9c31-2b8b0f0f9a11",
  "type": "ai_video",
  "status": "completed",
  "error": null,
  "costInCredits": 1000,
  "createdAt": "2026-11-02T12:00:00.000Z",
  "completedAt": "2026-11-02T12:03:41.000Z",
  "url": "https://.../1c9d6c3e-1f5b-4d2e-9c31-2b8b0f0f9a11.mp4"
}
An AI video clip, made by the pipeline this API calls.

Every Input Field

Read from the API's own schema. Unknown fields are rejected with a 400, never silently dropped.

FieldTypeDefaultNotes
modelrequiredone of 28 values-The model label, exactly as listed in the table below.
moderequired"text_to_video" | "image_to_video"-"text_to_video" or "image_to_video". Not every model supports both.
textPromptrequiredstring (max 5000)-
imageUrlstring (max 2048)-Required for image_to_video, rejected for text_to_video. A public https URL.
durationrequiredinteger > 0-Seconds. Must be one of the model's own lengths.
resolutionrequiredstring (max 32)-Must be one of the model's own resolutions.
format"9:16" | "16:9" | "1:1"-Defaults to the model's first supported ratio.

28 Models, Priced Per Clip

Generated from the price list the API charges with. Send the label as model.

ModelModesLengthsResolutionsFormatsFrom
Google Veo 3.1 Fasttext, image4s, 6s, 8s720p, 1080p9:16, 16:92,400 credits
Google Veo 3.1text, image4s, 6s, 8s720p, 1080p9:16, 16:96,400 credits
Google Veo 3.1 Litetext, image4s, 6s, 8s720p, 1080p9:16, 16:9800 credits
Kling 3.0text, image5s, 10sstandard, pro9:16, 16:9, 1:13,360 credits
Kling 2.6text, image5s, 10s1080p9:16, 16:9, 1:12,800 credits
Kling 2.5 Turbo Protext, image5s, 10s1080p9:16, 16:9, 1:11,400 credits
Seedance 2.0text, image5s, 10s720p, 1080p9:16, 16:9, 1:13,600 credits
Seedance 2.0 Fasttext, image5s, 10s720p, 480p9:16, 16:9, 1:11,400 credits
Seedance 1 Protext, image5s, 10s720p, 1080p9:16, 16:9, 1:11,200 credits
Seedance 1 Pro Fasttext, image5s, 10s720p, 1080p9:16, 16:9, 1:1500 credits
Seedance 1 Litetext, image5s, 10s720p, 1080p9:16, 16:9, 1:1720 credits
Hailuo 2.3text, image6s, 10s768p, 1080p16:91,120 credits
Hailuo 2.3 Fastimage6s, 10s768p, 1080p16:9760 credits
Hailuo 02text, image6s, 10s768p, 1080p16:91,080 credits
Hailuo 02 Fastimage6s, 10s512p16:9400 credits
Runway Gen-4.5text, image5s, 10s720p9:16, 16:9, 1:12,400 credits
Grok Imagine Videotext, image5s, 10s720p9:16, 16:9, 1:11,000 credits
Grok Imagine Video 1.5image5s, 10s720p9:16, 16:9, 1:11,600 credits
Vidu Q3 Protext, image5s, 10s720p, 1080p9:16, 16:9, 1:13,000 credits
Vidu Q3 Turbotext, image5s, 10s720p, 1080p9:16, 16:9, 1:11,200 credits
PixVerse v6text, image5s, 8s, 10s720p, 1080p9:16, 16:9, 1:11,800 credits
PixVerse v5text, image5s, 8s720p, 1080p9:16, 16:9, 1:11,600 credits
Luma Ray 3.2text, image5s720p, 1080p9:16, 16:9, 1:11,200 credits
Wan 3.0text, image5s, 10s720p, 1080p9:16, 16:9, 1:11,000 credits
Wan Video 2.2 T2V Fasttext5s720p9:16, 16:9400 credits
Wan Video 2.2 I2V Fastimage5s720p9:16, 16:9400 credits
LTX-2.3 Protext, image6s, 8s, 10s1080p9:16, 16:91,920 credits
LTX-2.5 Fasttext, image6s, 8s, 10s720p, 1080p9:16, 16:9720 credits

What It Costs

The API is included with Ultimate and spends the same credits as the dashboard. Ultimate's 180k monthly credits cover about 180 requests like the one above. Rendered files are kept for 14 days.

See every Ultimate size →

AI Video API Questions

What happens if I ask for a length a model does not offer?

You get a 400 that names the field and lists the values the model does support. Nothing is charged and no job is queued.

Why do models cost different amounts?

Each model, resolution and length has its own credit price, the same one the dashboard charges. The table on this page is generated from that price list.

How is an AI video clip billed?

From the same credit balance as the dashboard, at the same price per video. The cost is in the 202 response before any work starts, and a failed render refunds it.

Other Video Types in the API