Video to Anime Converter API documentation
Convert a real video into an anime style.
Endpoints
| Contract item | Value |
|---|---|
| Capability | video-to-anime-converter |
| Submit | POST https://vidmage.ai/api/v1/video-to-anime-converter/submit |
| Query | POST https://vidmage.ai/api/v1/video-to-anime-converter/query |
| Task identifier | taskId |
| Result field | videoUrl |
Authenticate with Authorization: Bearer YOUR_API_KEY. Save the task identifier and query the same capability. Use a stable Idempotency-Key for submission retries.
Product guide: AI Video to Video API for Style Transformations
Parameters and input rules
| Field | Type | Required | Default | Meaning and limits |
|---|---|---|---|---|
videoUrl | string | Yes | Not specified | URL of the source video. |
animeStyle | string | Yes | Not specified | Target anime style description. |
duration | string | No | "5" | Video duration in seconds. Values: "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" |
resolution | string | No | "720p" | Output resolution. Values: "480p", "720p", "1080p", "2k", "4k" |
Example request
{
"videoUrl": "https://vidmage.ai/assets/models/hailuo-ai-video-generator/skincare-ad.mp4",
"animeStyle": "cinematic hand-drawn anime",
"duration": "5",
"resolution": "720p"
}# Set VIDMAGE_IDEMPOTENCY_KEY to a unique value for this task; preserve it for transport retries.
curl -X POST "https://vidmage.ai/api/v1/video-to-anime-converter/submit" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Idempotency-Key: ${VIDMAGE_IDEMPOTENCY_KEY}" \
-H "Content-Type: application/json" \
-d '{"videoUrl":"https://vidmage.ai/assets/models/hailuo-ai-video-generator/skincare-ad.mp4","animeStyle":"cinematic hand-drawn anime","duration":"5","resolution":"720p"}'
# -> { "success": true, "taskId": "...", "creditsConsumed": ... }Task results and recovery
URL of the anime-styled video. Read videoUrl from the completed query response. Preserve taskId while the task is running.
curl -X POST "https://vidmage.ai/api/v1/video-to-anime-converter/query" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "taskId": "TASK_ID_FROM_SUBMIT" }'
# -> { "success": true, "data": { "status": "...", "videoUrl": "https://..." } }Submission and task queries report the available task and usage information. A timeout is not a confirmed failure. Recover the existing task instead of resubmitting.
For face selection and error recovery, follow Task lifecycle. MCP uses the normalized taskId argument in get_task_result, including capabilities whose REST identifier is requestId.
Credits
| Component / option | Rate | Minimum |
|---|---|---|
| 480p | 10 credits / second | — |
| 720p | 20 credits / second | — |
| 1080p | 25 credits / second | — |
| 2k | 30 credits / second | — |
| 4k | 35 credits / second | — |
Charge = duration × the selected resolution rate.
Use the Playground or the MCP credit estimator for your exact inputs. Credits and billing.
