Upload images or paste image URLs for frame control.
Start Frame
Upload 1 image or paste an image URL.
Click to upload or drag and drop
Supported formats: JPG, JPEG, PNG, WEBP
Maximum file size: 10MB; Maximum files: 1
End Frame
Upload 1 image or paste an image URL.
Click to upload or drag and drop
Supported formats: JPG, JPEG, PNG, WEBP
Maximum file size: 10MB; Maximum files: 1
Any integer from 4s to 15s.
Video output resolution.
Video aspect ratio.
USD estimate $0.38-$0.76: highest recharge package uses $1 = 2,000 credits; entry package uses $1 = 1,000 credits.
History
Saved locally in this browser
0 running · 0 completed
Billing Rules
Authentication
Every request needs a Bearer token in the Authorization header. Create an API key in the console.
Authorization: Bearer YOUR_API_KEYhttps://apiany.ai/v1/videos/generationsRequest parameters
| Parameter | Type | Required | Notes |
|---|---|---|---|
model | string | Required | Model identifier to invoke. Use this model's ID. |
prompt | string | Required | Text prompt describing what you want to generate. |
duration | number | Optional | Any integer from 4s to 15s. · Range: 4–15 · Default: 4 |
quality | string | Optional | Video output resolution. · Options: 768p, 2k · Default: 768p |
aspect_ratio | string | Optional | Video aspect ratio. · Options: 16:9, 9:16, 1:1, 4:3, 3:4, 21:9 · Default: 16:9 |
callback_url | string | Optional | Optional webhook URL called when the async task finishes. |
Request example
curl "https://apiany.ai/v1/videos/generations" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "minimax-h3-image-to-video",
"prompt": "Animate the reference image into a smooth cinematic shot with subtle camera movement",
"duration": 4,
"quality": "768p",
"aspect_ratio": "16:9"
}'Response example
{
"task_id": "task_abc123",
"status": "pending",
"poll_url": "/v1/tasks/task_abc123",
"request_id": "req_abc123",
"credits": {
"reserved": 1000
}
}This endpoint is asynchronous: it returns a task_id immediately. Poll the task-status endpoint until status becomes succeeded, then read the result. Generated media links stay valid for 24 hours.