Generate video
generate_videoMake an AI video: a product ad, a vertical clip for social, a cinematic shot, or animate a photo into video (image-to-video). Requires a quote_id from estimate_credit_cost so the price is agreed first; then returns a job id to poll with get_generation. Credits are charged only when the video succeeds. SIGN-IN REQUIRED: connect this server with OAuth (the host prompts for it), or add an API key header "Authorization: Bearer acd_live_…" created at https://aicontentdrop.com/settings/integrations.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"prompt": "<prompt>",
"quote_id": "<quote_id>"
},
"name": "generate_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model ID from list_models, e.g. "kling_3_0". Must match the quoted model; omitted means the quoted model. | |
| prompt | Yes | What the video should show. Detailed prompts produce better results. | |
| duration | No | Length in seconds. Must match the quoted duration for per-second models. | |
| quote_id | Yes | The quote_id from estimate_credit_cost for this exact model, duration and resolution. Required. | |
| image_url | No | Public image URL to animate (image-to-video). Required for models whose list_models entry has needs_start_image; optional for the rest. | |
| resolution | No | e.g. "720p" or "1080p". Must match the quoted resolution for per-second models. | |
| aspect_ratio | No | Defaults to 16:9. Use 9:16 for vertical social clips. | |
| reference_video_url | No | Optional public https URL of a reference video (for example a 3D blockout playblast) whose camera movement, shot rhythm and subject motion the generation must follow. seedance_2_5 (30 s max) or seedance_2_0_fast (15 s max, 720p). The quote must have been priced with reference_video_seconds equal to this clip's length rounded up; the server measures the clip and refuses on mismatch. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Poll this with get_generation. | |
| kind | Yes | ||
| model | No | ||
| status | Yes | ||
| replayed | Yes | True when this quote_id had already been submitted and the original job was returned. | |
| image_url | No | Null until the render finishes. | |
| next_step | Yes | What to do next, in words, so a model need not infer it. | |
| unlimited | No | ||
| video_url | No | Null until the render finishes. | |
| credits_used | Yes | 0 until the render succeeds; billing is post-deduct. | |
| credits_quoted | Yes | The price fixed by the quote. |