Skip to Content
DocumentationModelsVideoAgnes Video 2.5

Agnes Video 2.5

Use agnes-video-2.5 to create video output. This page contains the complete request needed for this model.

Model facts

PropertyValue
Model IDagnes-video-2.5
EndpointPOST /api/v1/generation/create
OutputVideo
Modestext-to-video, image-to-video, audio reference
PricingView current pricing 

Minimal request

curl -X POST https://api.api-stock.com/api/v1/generation/create \ -H "Authorization: Bearer $API_STOCK_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "agnes-video-2.5", "input": { "prompt": "A cinematic scene with soft natural light" } }'

The create response contains a task ID:

{ "code": 200, "data": { "taskId": "019ca881-9503-7270-a560-f00fc2b15785", "status": "not_started", "createdAt": "2026-08-22T12:00:00.000Z" } }

Parameters

Parameters belong inside the top-level input object. Unknown fields are rejected.

ParameterTypeRequiredDefaultDescription
promptstringYes—Describe the scene, motion and audio. Refer to supplied images and audio in the prompt.
aspectRatio“16:9” | “9:16” | “21:9” | “4:3” | “1:1” | “3:4”No"16:9"Video aspect ratio
imageUrlsstring[]No—Reference image URLs (up to 9). Included in the per-second price.
audioUrlsstring[]No—Reference audio URLs (up to 3), free of additional charge.
resolution“720p” | “1080p” | “2k”No"720p"Output video resolution.
durationnumberNo5Output duration in seconds (1–12). min 1, max 12
seednumberNo—Random seed

Modes

Minimal generation

{ "model": "agnes-video-2.5", "input": { "prompt": "A cinematic scene with soft natural light" } }

With image urls

{ "model": "agnes-video-2.5", "input": { "prompt": "A cinematic scene with soft natural light", "imageUrls": [ "https://example.com/input.jpg" ] } }

With audio urls

{ "model": "agnes-video-2.5", "input": { "prompt": "A cinematic scene with soft natural light", "audioUrls": [ "https://example.com/input.mp3" ] } }

Constraints

  • aspectRatio: allowed: 16:9, 9:16, 21:9, 4:3, 1:1, 3:4.
  • resolution: allowed: 720p, 1080p, 2k.
  • duration: minimum 1; maximum 12.

Invalid types, unsupported enum values, out-of-range numbers, and missing required fields return HTTP 400 with error.code: "invalid_input". Correct the request rather than retrying it unchanged.

Result

Poll the task or provide a top-level webhook URL in the create request:

curl https://api.api-stock.com/api/v1/task/status/$TASK_ID \ -H "Authorization: Bearer $API_STOCK_KEY"

A successful media task returns one or more files:

{ "code": 200, "data": { "taskId": "019ca881-9503-7270-a560-f00fc2b15785", "status": "finished", "files": [ { "fileUrl": "https://s3.api-stock.com/result.mp4", "fileType": "video" } ], "createdTime": "2026-08-22T12:00:00.000Z" } }

See Tasks and webhooks for terminal statuses, retries and webhook delivery.

Agnes Video 2.5 — API Stock