For the complete documentation index, see llms.txt. This page is also available as Markdown.
newbeta

MotionMockups AI API

Submit a MotionMockups AI Request

post

Queue a video generation request for the provided image and return a request_id to poll.

Provide your own prompt for full control, or omit it to let the API generate a prompt from the image (set skip_discovery: true to skip auto-prompting and use a neutral default instead). Allowed duration and aspect_ratio values depend on the selected model β€” see GET /motion-mockups/models.

Authorizations
x-api-keystringRequired

API key required for authentication.

Header parameters
Acceptstring Β· enumRequired

The request must accept JSON responses.

Possible values:
x-api-keystringRequired

API key required for authentication.

Example: YOUR_API_KEY_HERE
Body
start_image_urlstring Β· uri Β· max: 2000Required

Publicly accessible URL of the source image to animate.

Example: https://app-dynamicmockups-production.s3.eu-central-1.amazonaws.com/static/api_sandbox_icon.png
modelstring Β· enumOptional

The MotionMockups AI model to use. Defaults to the standard model when omitted.

Example: kling_v2.6Possible values:
promptstring Β· max: 2500Optional

Optional text prompt describing the desired video. When omitted, a prompt is generated from the image.

negative_promptstring Β· max: 1000Optional

Optional description of what to avoid in the generated video.

durationintegerOptional

Video length in seconds. Allowed values depend on the selected model (see GET /motion-mockups/models). Defaults to the model's default duration.

Example: 5
aspect_ratiostringOptional

Output aspect ratio. Only supported by some models, with a model-specific set of allowed values (see GET /motion-mockups/models).

Example: 16:9
generate_audiobooleanOptional

Whether to also generate audio. Increases the credit cost by a model-specific multiplier.

Example: false
skip_discoverybooleanOptional

When true and no prompt is provided, skip image auto-prompting and use a neutral default prompt.

Example: false
Responses
200

Request successfully queued.

application/json
successbooleanOptionalExample: true
messagestringOptionalExample: Image-to-video request submitted successfully
post/motion-mockups/submit

Get MotionMockups AI Request Status

get

Return the current status of a previously submitted request. While generation is in progress status is IN_QUEUE or PROCESSING. On success status is COMPLETED and the response includes a video object with a permanent URL. Terminal failures report FAILED, CANCELLED or ERROR and any reserved credits are refunded automatically.

Authorizations
x-api-keystringRequired

API key required for authentication.

Path parameters
requestIdstringRequired

The request_id returned by the submit endpoint.

Example: 7b1f5c2a-3d4e-4f6a-9b8c-1d2e3f4a5b6c
Header parameters
Acceptstring Β· enumRequired

The request must accept JSON responses.

Possible values:
x-api-keystringRequired

API key required for authentication.

Example: YOUR_API_KEY_HERE
Responses
200

Current status of the request.

application/json
successbooleanOptionalExample: true
messagestringOptionalExample: Video generation completed
get/motion-mockups/status/{requestId}

List MotionMockups AI Models

get

List the available models with their allowed durations, per-duration credit costs (with and without audio), estimated generation time and supported aspect ratios.

Authorizations
x-api-keystringRequired

API key required for authentication.

Header parameters
Acceptstring Β· enumRequired

The request must accept JSON responses.

Possible values:
x-api-keystringRequired

API key required for authentication.

Example: YOUR_API_KEY_HERE
Responses
200

Available models.

application/json
successbooleanOptionalExample: true
messagestringOptionalExample: Available image-to-video models
get/motion-mockups/models

Overview

MotionMockups AI is a standalone image-to-video endpoint - it doesn't need a mockup template or a product. Submit any publicly reachable image URL, and it returns a generated MP4.

Workflow

1. (Optional) Call List MotionMockups AI Models to see the available models, their valid durations, the credit cost of each, and which ones support an aspect ratio.

2. Call Create MotionMockups AI Video with your start_image_url (and optionally a model, duration, or prompt). You get back a request_id.

3. Poll Get MotionMockups AI Video Status with that request_id until status is COMPLETED, then use the returned video.url.

Writing the prompt (or letting our AI decide)

A prompt is optional. Omit it and MotionMockups AI analyzes your image and writes one for you automatically - the fastest way to a good result.

Pass your own prompt when you want to direct the motion (e.g., "slow cinematic push-in with soft studio lighting"), and use negative_prompt to describe what to avoid.

Polling for completion

Generation is asynchronous and usually takes between 2 and 15 minutes, depending on the model and duration (see estimated_time_minutes from the models endpoint). Poll the status endpoint every ~5 seconds.

While the job runs, status is IN_QUEUE or PROCESSING; when it finishes, status is COMPLETED and the response includes a video object.

Using your video

On COMPLETED, the video object contains a url plus content_type, file_name, and file_size. Download it or embed it directly - it's a standard MP4.

Start image URL requirements

start_image_url must be a publicly reachable URL. We recommend clear, well-lit product shots to get the best results.

Duration, aspect ratio, and audio

duration is the length in seconds and must be one of the selected model's allowed values. aspect_ratio is only available on models where supports_aspect_ratio is true - omit it otherwise.

Set generate_audio to true to add a generated soundtrack; Omit any of these, and the model's defaults apply.

Choosing a model

Two models are available. Use the models endpoint for the authoritative, up-to-date list of durations and prices.

Model
Durations
Aspect ratio
Audio
Best for

kling_v2.6 (Kling v2.6 Pro)

5s, 10s

Follows start_image_url ratio (not configurable)

Optional (β‰ˆ2Γ— credits)

Quick, lower-cost clips

kling_v3_pro (Kling V3 Pro)

3 - 15s

16:9, 9:16, 1:1

Optional (β‰ˆ1.5Γ— credits)

Longer clips, framing control, higher fidelity

The default model is kling_v2.6.

Credits cost

Each request costs credits based on the model, the duration, and whether audio is enabled. For example, Kling v2.6 Pro is 40 credits for a 5-second clip (80 with audio); Kling V3 Pro is 130 credits for 5 seconds (195 with audio).

You only pay for videos that are generated successfully.

Rate Limit

The submit endpoint is limited to 10 requests per minute; the status and models endpoints are higher, so you can poll freely. Exceeding a limit returns 429. Contact support if you need a higher cap.

Last updated