Animate a first-frame image into a 1080p video with synchronized audio using MAGI-2 API. Optionally add an ending frame and a prompt for motion, camera and sound, then retrieve the finished video through the asynchronous task API.
Developer API pricing
Provider: SeeAPI
USD estimate: $0.0037 / credit · Estimated equivalent, not an additional charge.
Price: 23.49 credits/sec (≈ $0.088/sec)
/v1/generationsA unique key used to safely retry the same request.
order-20260818-001The model identifier.
magi-2magi-2magi-2The generation capability to run.
image-to-videoimage-to-videoimage-to-videoThe public provider to use.
seeapiseeapiseeapiThe source frames, prompt and output settings for this generation.
Provider parameters
seeapiDefault ProviderThe public URL of the image used as the opening frame of the video.
https://client.example.com/assets/first-frame.pngThe public URL of an image used as the ending frame of the video.
Describe the motion, camera movement, dialogue and sound to add to the image.
The woman turns toward the window and smiles as rain begins to fall. The camera slowly pushes in while soft piano music plays.The output video duration in seconds.
5The output video resolution.
1080p1080pWhether to generate synchronized dialogue, sound effects, ambience and music with the video.
trueA seed for reproducible variations.
An absolute HTTPS URL that receives the terminal generation webhook.
https://client.example.com/webhooks/seeapiThe accepted generation and its current processing status.
The generation identifier. Save it to query status and retrieve the result.
task_xxxThe model used for this generation.
magi-2The endpoint used for this generation.
image-to-videoThe selected public provider.
seeapiseeapi: SeeAPIseeapiThe current generation state. Processing does not mean the video is ready.
processingprocessingThe estimated charge in public credits for this request.
117.45Credits consumed by this generation so far.
0Credits refunded for this generation so far.
0The time the generation was created, in ISO 8601 format.
2026-08-18T10:00:00ZThe time the generation was last updated, in ISO 8601 format.
2026-08-18T10:00:00ZWhether this is a replay of an earlier request with the same idempotency key.
falseThe accepted generation and its current processing status.
The generation identifier. Save it to query status and retrieve the result.
task_xxxThe model used for this generation.
magi-2The endpoint used for this generation.
image-to-videoThe selected public provider.
seeapiseeapi: SeeAPIseeapiThe current generation state. Processing does not mean the video is ready.
processingprocessingThe estimated charge in public credits for this request.
117.45Credits consumed by this generation so far.
0Credits refunded for this generation so far.
0The time the generation was created, in ISO 8601 format.
2026-08-18T10:00:00ZThe time the generation was last updated, in ISO 8601 format.
2026-08-18T10:00:00ZWhether this is a replay of an earlier request with the same idempotency key.
falseInvalid JSON, parameters, Schema, or API Policy
Invalid API Key or authentication failed
Insufficient credits
The current request is not allowed
Model, Endpoint, or task not found
Idempotency conflict or the same request is still being created
Request body is too large
Too many requests
Service temporarily unavailable
After submitting a task, use the unified query endpoint to check progress and retrieve results:
Submit requests from your server using a Bearer API key. Store the generation identifier and use Get Task Details to check progress and retrieve the result. Acceptance does not mean the video is complete.
Manage the secret used to verify generation webhook signatures. Callback URLs are supplied when you create each generation.
Callback URL per generation.
const response = await fetch("https://api.seeapi.com/v1/generations", {
method: "POST",
headers: {
"Authorization": "Bearer YOUR_API_KEY",
"Idempotency-Key": "order-20260818-001",
"Content-Type": "application/json"
},
body: JSON.stringify({
"model": "magi-2",
"endpoint": "image-to-video",
"provider": "seeapi",
"input": {
"first_frame_image": "https://client.example.com/assets/first-frame.png",
"prompt": "The woman turns toward the window and smiles as rain begins to fall. The camera slowly pushes in while soft piano music plays.",
"duration_seconds": 5,
"resolution": "1080p",
"generate_audio": true
},
"callback_url": "https://client.example.com/webhooks/seeapi"
})
});
const result = await response.json();{
"generation": {
"id": "task_xxx",
"model": "magi-2",
"endpoint": "image-to-video",
"provider": "seeapi",
"status": "processing",
"estimated_credits": 117.45,
"consumed_credits": 0,
"refunded_credits": 0,
"created_at": "2026-08-18T10:00:00Z",
"updated_at": "2026-08-18T10:00:00Z"
},
"idempotent": false
}