Free AI Video Multi-Shot Prompt & API Payload Generator
Select your AI Chili engine, character reference count, lens movement, and lighting to generate properly indexed multi-reference prompts, live whole-credit estimates, and copy-pasteable cURL, CLI, Python, and MCP payloads.
<Picture 1>..<Picture 6> (h3-vdn / minimax-h3-gmi) and Image 1..Image 6 (wan3.0-video / seedance-2.5), clamps shot durations to live registry limits, and pairs every render with a $0 /generations/plan check.1. Configure Engine, Reference Slots, Camera & Scene Action
Every change updates reference token syntax, clamps single-call duration and resolution to live /api/v1/registry bounds, and regenerates ready-to-run API, CLI, Python, and MCP payloads.
Formatted Multi-Reference Prompt
<Picture 1> and <Picture 2> striding across wet stone courtyard tiles toward the cedar pavilion as silk sleeves catch the breeze, 35mm anamorphic dolly-in with shallow depth of field, warm amber lantern key light against cool evening rain mist, coherent 24fps motion.
# 1. Zero-cost dry-run quote ($0, returns exact integer total_credits)
curl -sS -X POST https://aichili.ai/api/v1/generations/plan \
-H "User-Agent: curl/8.4.0" \
-H "Authorization: Bearer $AICHILI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "i2v",
"model_id": "h3-vdn",
"params": {
"prompt": "<Picture 1> and <Picture 2> striding across wet stone courtyard tiles toward the cedar pavilion as silk sleeves catch the breeze, 35mm anamorphic dolly-in with shallow depth of field, warm amber lantern key light against cool evening rain mist, coherent 24fps motion.",
"duration_s": 15,
"resolution": "768p",
"ratio": "16:9",
"ref_asset_ids": [
"00000000-0000-0000-0000-000000000001",
"00000000-0000-0000-0000-000000000002"
],
"ref_roles": [
"reference_image",
"reference_image"
]
}
}'
# 2. Submit idempotently after verifying total_credits
curl -sS -X POST https://aichili.ai/api/v1/generations \
-H "User-Agent: curl/8.4.0" \
-H "Authorization: Bearer $AICHILI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"mode": "i2v",
"model_id": "h3-vdn",
"idempotency_key": "shot-h3-vdn-15s-16x9",
"params": {
"prompt": "<Picture 1> and <Picture 2> striding across wet stone courtyard tiles toward the cedar pavilion as silk sleeves catch the breeze, 35mm anamorphic dolly-in with shallow depth of field, warm amber lantern key light against cool evening rain mist, coherent 24fps motion.",
"duration_s": 15,
"resolution": "768p",
"ratio": "16:9",
"ref_asset_ids": [
"00000000-0000-0000-0000-000000000001",
"00000000-0000-0000-0000-000000000002"
],
"ref_roles": [
"reference_image",
"reference_image"
]
}
}'
# Install CLI once: npm install -g aichili (or: brew install AI-Chili/tap/aichili, or prefix with npx -y) aichili plan \ --model h3-vdn --mode i2v --duration 15 --resolution 768p --ratio 16:9 \ --ref-asset "00000000-0000-0000-0000-000000000001" \ --ref-asset "00000000-0000-0000-0000-000000000002" \ --ref-role "reference_image" \ --ref-role "reference_image" \ --prompt '<Picture 1> and <Picture 2> striding across wet stone courtyard tiles toward the cedar pavilion as silk sleeves catch the breeze, 35mm anamorphic dolly-in with shallow depth of field, warm amber lantern key light against cool evening rain mist, coherent 24fps motion.' --json aichili generate \ --model h3-vdn --mode i2v --duration 15 --resolution 768p --ratio 16:9 \ --ref-asset "00000000-0000-0000-0000-000000000001" \ --ref-asset "00000000-0000-0000-0000-000000000002" \ --ref-role "reference_image" \ --ref-role "reference_image" \ --idempotency-key "shot-h3-vdn-15s-16x9" \ --prompt '<Picture 1> and <Picture 2> striding across wet stone courtyard tiles toward the cedar pavilion as silk sleeves catch the breeze, 35mm anamorphic dolly-in with shallow depth of field, warm amber lantern key light against cool evening rain mist, coherent 24fps motion.' --wait --json
import json, os, urllib.request
payload = {
"mode": "i2v",
"model_id": "h3-vdn",
"idempotency_key": "shot-h3-vdn-15s-16x9",
"params": {
"prompt": "<Picture 1> and <Picture 2> striding across wet stone courtyard tiles toward the cedar pavilion as silk sleeves catch the breeze, 35mm anamorphic dolly-in with shallow depth of field, warm amber lantern key light against cool evening rain mist, coherent 24fps motion.",
"duration_s": 15,
"resolution": "768p",
"ratio": "16:9",
"ref_asset_ids": [
"00000000-0000-0000-0000-000000000001",
"00000000-0000-0000-0000-000000000002"
],
"ref_roles": [
"reference_image",
"reference_image"
]
}
}
plan_body = {k: v for k, v in payload.items() if k != 'idempotency_key'}
headers = {
'User-Agent': 'curl/8.4.0',
'Authorization': f"Bearer {os.environ['AICHILI_API_KEY']}",
'Content-Type': 'application/json',
}
plan_req = urllib.request.Request('https://aichili.ai/api/v1/generations/plan', data=json.dumps(plan_body).encode(), headers=headers, method='POST')
with urllib.request.urlopen(plan_req, timeout=25) as r:
quote = json.loads(r.read().decode())
print('Quoted credits:', quote['total_credits'])
# POST https://aichili.ai/mcp
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "plan_video_generation",
"arguments": {
"api_key": "chili_sk_replace_with_your_key",
"mode": "i2v",
"model_id": "h3-vdn",
"prompt": "<Picture 1> and <Picture 2> striding across wet stone courtyard tiles toward the cedar pavilion as silk sleeves catch the breeze, 35mm anamorphic dolly-in with shallow depth of field, warm amber lantern key light against cool evening rain mist, coherent 24fps motion.",
"duration_s": 15,
"resolution": "768p",
"ratio": "16:9",
"ref_asset_ids": [
"00000000-0000-0000-0000-000000000001",
"00000000-0000-0000-0000-000000000002"
],
"ref_roles": [
"reference_image",
"reference_image"
]
}
}
}
2. Engine Reference Syntax & Duration Ceiling Reference
Engine (model_id) |
Clamped Duration | Prompt Reference Syntax | Resolutions | Credit Quote Rule |
|---|---|---|---|---|
h3-vdn | 5s-15s | <Picture 1>..<Picture 6> or first_frame+last_frame | 480p, 768p, 1080p, 2k | 0.6 / 1.0 / 1.8 / 2.5 cr/s (Math.ceil) |
wan3.0-video | 2s-30s | Image 1..Image 6, Video 1 | 480P, 720P, 1080P | $0 POST /api/v1/generations/plan |
seedance-2.5 | 4s-15s | Image 1..Image 6, Video 1 | 480p, 720p, 1080p | $0 POST /api/v1/generations/plan |
minimax-h3-gmi | 4s-15s | <Picture 1>..<Picture 6>, <Video 1> | 768P, 2K | $0 POST /api/v1/generations/plan |
avatar-talk | 3s-300s | 1 presenter loop (talk) or portrait (photo) | source (talk), 768p (photo) | 0.2 cr / 5 script units (+10 cr on photo) |
Frequently Asked Questions
When should my prompt use <Picture 1> vs Image 1 for character consistency?
Use <Picture 1>..<Picture 6> when targeting h3-vdn (or alias h3-sol) and minimax-h3-gmi. Switch to Image 1..Image 6 when targeting wan3.0-video or seedance-2.5. This builder formats the exact reference tokens automatically whenever you switch engines.
Why do Wan 3.0, Seedance 2.5, and MiniMax H3 show a live /generations/plan quote note instead of a fixed per-second multiplier?
h3-vdn and avatar-talk follow deterministic offline formulas (1.0 cr/s at 768p on h3-vdn; 0.2 cr per 5 script units on avatar-talk, +10 base credits on photo). Vendor-quoted cloud lanes compute exact whole-credit quotes dynamically via POST /api/v1/generations/plan at $0 cost.
How does duration clamping work across the 5 AI Chili engines?
Each engine enforces distinct single-call bounds: 5s-15s on h3-vdn, 2s-30s on wan3.0-video, 4s-15s on seedance-2.5 and minimax-h3-gmi, and 3s-300s script-driven speech on avatar-talk.