Photo Alive
Upload a static picture and generate a dynamic video (Wan2.2, fixed at 5 seconds). No faces or templates are required, and tasks are executed asynchronously, usually taking one to a few minutes.
Create task
http
POST /v1/videos/img2video| Parameters | Type | Required | Description |
|---|---|---|---|
image | string | Yes | The image to be animated: image URL, or base64 (can be prefixed with data:image/jpeg;base64,). Max 10MB |
prompt | string | No | Motion/scene prompt word, describing how you want the picture to move. Leave blank to automatically generate dynamic |
webhook_url | string | No | Push address after the task ends |
Request header Idempotency-Key (optional): Your business ID, which is not repeated within the same function, will be returned unchanged in the result.
Example
bash
curl -X POST https://api.modelgo.moneygo.ai/v1/videos/img2video \
-H "Authorization: Bearer sk-your-key" \
-H "Content-Type: application/json" \
-d '{
"image": "https://example.com/photo.jpg",
"prompt": "Slow camera push-in with a gentle breeze"
}'python
import requests
res = requests.post(
"https://api.modelgo.moneygo.ai/v1/videos/img2video",
headers={"Authorization": "Bearer sk-your-key"},
json={"image": "https://example.com/photo.jpg", "prompt": "Slow camera push-in with a gentle breeze"},
timeout=60,
)
print(res.json())Return
json
{
"id": "task_3kP9xQ2mZ7aB1cD4eF6gH8jK",
"object": "task",
"capability": "video.img2video",
"status": "queued",
"cost": 30,
"output": null,
"error": null,
"created_at": "2026-09-21T08:00:00.000Z"
}Then get the results through Webhook callback or Task Query. When successful, output.images is the result video address. For prices and pricing rules, see Billing and Points.
