VidMage

VidMage is an AI video and image creation platform for creators. Turn your ideas and images into videos and fresh visuals.

Open the creator tools
Explore APIs
AI Video APIsAI Image APIsAI Audio APIsAI 3D APIsAI Face Swap APIsAI Effects APIs
Build with VidMage
QuickstartAPI keysVidMage MCPError reference
Your account
Developer consoleAbout VidMagePlans and creditsAPI billingContact support
© 2026 VidMage. All rights reserved.
Privacy PolicyTerms of ServiceReport Abuse
Skip to content
VidMage/Developers
Overview
APIs
All APIsAI Video APIsAI Image APIsAI Audio APIsAI 3D APIsAI Face Swap APIsAI Effects APIs
DocumentationVidMage MCPOpen console
Developers/AI Motion Control API for Character Animation

AI Motion Control API for Character Animation

Add motion transfer to your animation workflow with a character image and a driving video. Use the clip as the motion reference and retrieve the resulting character animation.

Get API keyView API docs
Abstract illustration for AI Motion Control API for Character Animation
PlaygroundAPIPricingGuideFAQs

AI Motion Control API Playground

Use your existing API key and subscription. Submitting a generation uses credits; uploading and preparing a request does not start a generation.

API access is available to subscribers only. Your subscription credits are shared across the website and the API.

View plans

Parameter

2 parameters

URL of the source image.

Reference-video fileUrl returned by upload_files; maximum 30 seconds.

Request code

#!/usr/bin/env bash
set -euo pipefail
# Set this once per intended task; preserve it and the body for transport retries.
: "${VIDMAGE_IDEMPOTENCY_KEY:?Set a unique key for this task}"

SUBMIT_RESPONSE="$(curl --fail-with-body --silent --show-error -X POST "https://vidmage.ai/api/v1/motion-control/submit" \
  -H "Authorization: Bearer ${VIDMAGE_API_KEY}" \
  -H "Idempotency-Key: ${VIDMAGE_IDEMPOTENCY_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '{
  "imageUrl": "https://vidmage.ai/assets/images/samples/blue-eyed-woman-sunlight.webp",
  "videoUrl": "https://vidmage.ai/assets/models/hailuo-ai-video-generator/skincare-ad.mp4"
}')"
TASK_ID="$(printf '%s' "$SUBMIT_RESPONSE" | jq -er '.["taskId"]')"

while true; do
  QUERY_RESPONSE="$(curl --fail-with-body --silent --show-error -X POST "https://vidmage.ai/api/v1/motion-control/query" \
    -H "Authorization: Bearer ${VIDMAGE_API_KEY}" \
    -H "Content-Type: application/json" \
    --data-raw "{\"taskId\":\"${TASK_ID}\"}")"
  STATUS="$(printf '%s' "$QUERY_RESPONSE" | jq -r '(.status // .data.status // "") | ascii_downcase')"
  case "$STATUS" in
    success|succeeded|completed)
      RESULT="$(printf '%s' "$QUERY_RESPONSE" | jq -r '(.result // .["videoUrl"] // .data["videoUrl"] // empty)')"
      if [ -z "$RESULT" ]; then
        printf '%s' "Result missing; preserve task $TASK_ID and query the same task again. Do not resubmit." >&2
        exit 2
      fi
      printf '%s\n' "$RESULT"
      break
      ;;
    needs_input)
      printf '%s' "Face selection required; preserve task $TASK_ID" >&2
      exit 2
      ;;
    failed|error)
      printf '%s' "$QUERY_RESPONSE" | jq -r '(.message // .error // .data.error // "Task failed")' >&2
      exit 1
      ;;
  esac
  sleep 5
done

Response data

Submit the task to see the API response here.
PlaygroundCapabilities

API documentation

Submit a request, track the task, and retrieve your result.

Required inputs
imageUrl videoUrl
Output
Video·videoUrl
Request setup & limitsHeaders, input options and media limits

Request headers

Authorization
Bearer YOUR_API_KEY

Keep your API key on your server.

Content-Type
application/json
Idempotency-Key
YOUR_UNIQUE_KEY

Use a new key per task. Reuse it only when retrying the same submission.

Input options & limits

Request controls follow each task's parameter rules; they do not guarantee output properties.

Motion Control

RequiredimageUrl videoUrl

Output dimensions and format are not specified in this reference.

Input retention and output-link lifetime depend on the API contract. Confirm API-specific retention terms before making promises to your users. Upload guide ↗

Motion Control

POST /api/v1/motion-control/submit

Full API documentation ↗

imageUrl is required and videoUrl is required.

Required inputs

imageUrlstring
URL of the source image.
videoUrlstring
Reference-video fileUrl returned by upload_files; maximum 30 seconds.

Edit the sample inputs for your own task before submitting.

Motion Control request
# Set VIDMAGE_IDEMPOTENCY_KEY to a unique value for this task; preserve it for transport retries.
curl -X POST "https://vidmage.ai/api/v1/motion-control/submit" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: ${VIDMAGE_IDEMPOTENCY_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"imageUrl":"https://vidmage.ai/assets/images/samples/blue-eyed-woman-sunlight.webp","videoUrl":"https://vidmage.ai/assets/models/hailuo-ai-video-generator/skincare-ad.mp4"}'
# -> { "success": true, "taskId": "...", "creditsConsumed": ... }
Parameters and input rules2 fields
FieldTypeRequiredDefaultMeaning and limits
imageUrlstringYesNot specifiedURL of the source image. No additional field constraint listed.
videoUrlstringYesNot specifiedReference-video fileUrl returned by upload_files; maximum 30 seconds. No additional field constraint listed.

Retrieve the result

Save taskId from the accepted submission and send it to this endpoint:

POST /api/v1/motion-control/query

Use the same Bearer API key. On completion, read the videoUrl result field.

Task states and recovery ↗
Motion Control query
curl -X POST "https://vidmage.ai/api/v1/motion-control/query" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "taskId": "TASK_ID_FROM_SUBMIT" }'
# -> { "success": true, "data": { "status": "...", "videoUrl": "https://..." } }

Pricing

See what one image, video, or generation costs in credits. Your API and website activity share the same credit balance.

API credit rates and calculated example request costs
API / workflowExample requestPrice (credits)
Motion Controlvideo API5.875-second video: 59 credits
How this is calculated
  • Video duration: 10 credits / second · 20 credits minimum

The example uses the duration shown above. The server measures uploaded media for billing; this duration is only supplied to the estimate.

Duration × rate is rounded up to whole credits; the applicable minimum charge is enforced.

Estimate your own request ↗
10 credits / second20 credits minimum
Billed in credits. Shared with the website.Active subscription required. Unit rates and examples follow current API credit rules.Billing details⌄

Examples show the charge for the inputs listed above. Resolution, duration, audio, output count and reference media can change the total. Minimum charges and rounding follow the selected API.

Use the Playground to estimate your request before submitting it. Estimates do not start a generation. Subscription and credit-pack prices are listed on the plans page.

Your task’s recorded usage is the source of truth for the final charge.

View plans ↗Billing guide ↗

About AI Motion Control API

A reference performance gives a character image a movement to follow. VidMage's AI Motion Control API accepts those two inputs separately and generates a clip for exploring gestures, turns, and other visible actions. Short drama teams can use the resulting performances as scene material, alongside uses such as game character studies and animated mascot greetings. To try a motion reference with your image, open VidMage's Motion Control.

AI Motion Control API capabilities

Character image input
Provide an image that defines the character you want to animate through a reference-driven motion workflow.
Driving video input
Use a video performance as the movement reference for the character supplied in the image input.
Character animation output
Retrieve the generated video and compare its movement with the driving clip in your application's review player.

What you can build

Character actions for short dramas

A filmed turn toward a doorway or a raised hand can guide a fictional character's movement. Pair that performance reference with the character image to develop an action clip for a short drama scene.

Game character performance studies

Before final game animation, artists can explore how a concept character might greet, stand, or celebrate a win. A character image and a reference performance produce a video study for discussing those choices with the animation team.

Animated mascot greetings

Bring a brand mascot into a welcome sequence using its image and a filmed wave or greeting gesture. The resulting clip can become part of an onboarding video or an event-screen message after the team checks the performance.

How to use AI Motion Control API

  1. Get an API key

    Create a key in the Developer Console and store it on your server. Use it in the Authorization: Bearer header.

  2. Prepare and submit your inputs

    Set up your inputs in the Playground, then copy the matching API request. Send it from your server with a unique Idempotency-Key.

  3. Track the task

    Save the returned taskId and query the same operation until it completes. Keep that identifier if your app stops waiting.

  4. Retrieve the result

    Read videoUrl from the completed task. Preview the result in your app and save a copy to your own storage for later use.

Input tips
Prepare both reference assets
The request requires imageUrl and videoUrl. Keep the character image and driving clip clearly labeled so users understand which input defines appearance and movement.
Review the motion as a sequence
Inspect poses, changes in direction, and subject boundaries over time. The public fields do not expose a motion-strength slider, pose data, or camera-lock setting. Audio preservation is unspecified, so check the soundtrack if it matters to your pipeline.

Input requirementsUpload local files

Task fields and results

Keep the task identifier with its original request and Idempotency-Key. Query the same capability until it completes, then read the documented result field.

Task identifier
taskId
Query route
POST /api/v1/motion-control/query
Completed result
videoUrl
Task states and response structure ↗
Errors, retries and limits

Retry transport failures with the same idempotency key only when the original submission may not have reached the server. For a confirmed task, keep querying the original task instead of submitting a duplicate.

Read error recovery guidance ↗

FAQs

How is motion control different from image-to-video?

Use generic image-to-video when a still frame and written prompt should guide the action. Use Motion Control when a reference performance drives it, or Photo Dance for a choreography-focused interface.

Are failed or timed-out requests charged?

A client timeout is not a confirmed task failure. Confirmed failures are automatically refunded only when the refund outcome is certain. Unknown charges or refunds remain pending reconciliation.

Failure and refund handling ↗
How long should my app wait for a result?

The checked contract does not establish a fixed completion time. Choose a local wait budget for your app; it is not an API completion deadline.

Polling and wait budgets ↗
What are the rate and concurrency limits?

Request-rate limits control how often you can call the API; concurrency limits control simultaneous work. The documentation ties both to the stable API key but does not publish numeric limits for this operation. Confirm account limits before planning parallel jobs.

Rate-limit recovery ↗
Can I receive results through a webhook?

The checked request contract documents status queries and does not list a webhook or callback field for these routes. Check the current authenticated OpenAPI contract before making a callback part of your integration.

Query task results ↗Check the current contract ↗

Explore more APIs on VidMage

  • AI Video Generation API for Text and Images↗
  • AI Video to Video API for Style Transformations↗
  • AI Photo Dance API for Reference-Led Animation↗
  • AI Lip Sync API for Photos and Videos↗
  • Grok Video API↗
  • Sora 2 API↗
  • SkyReels API↗
  • AI Video Upscaler API for 2x and 4x Requests↗