Animate one image into a clip
autoshort_generate_image_to_videoAnimates a single reference image into a silent 5-second AI video, using the photo as the first frame. Suits products, pets, scenery, food and illustrations; realistic people are rejected.
Instructions
Animate ONE reference image into a silent 5-second AI-generated video (for a multi-scene video built from several of the user's pictures, use image_urls on autoshort_generate_chat_video instead). Send the image as image_url (a public https link, JPEG/PNG/WebP, at most 10 MB) or as imageBase64; the stdio package also accepts a local imagePath and uploads it. The photo becomes the first frame of the clip. ACCEPTED: products, pets, scenery, food, illustrations, and cartoon, anime or other clearly stylised characters (not realistic people, whether real or AI-generated). REJECTED before anything is charged: photos of real people (any realistic human face, to prevent deepfakes), sexual content, anything that may show a child; the answer says why. Only send images the user owns or may use. Costs 100 credits (20 credits per second x 5 s), charged the moment the job is accepted (not on delivery). Any plan with enough credits; a never-paid account gets one AI clip until its first payment. Rendering is automatic (OpenRouter Seedance 2.0 Mini, 480p, no audio): ready in up to about 13 minutes, typically less (not yet measured), so poll autoshort_get_video every 20-30 seconds. If the clip cannot be made (for example the video provider refuses the image on content-policy grounds) the video ends FAILED with the specific reason and the credits are refunded automatically; if it does not come back, check autoshort_get_credit_balance and report a missing refund. The result is labelled AI-generated (aiGenerated: true); keep that label when posting. Retry-safe: the same image + motionPrompt returns the first job (duplicate: true) for 24 hours instead of charging again; pass idempotencyKey to force a separate clip from identical inputs. To turn a TEXT prompt into a moving clip automatically (no photo, no human operator), use autoshort_generate_motion_clip instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"motionPrompt": "<motionPrompt>"
},
"name": "autoshort_generate_image_to_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imagePath | No | Absolute path to a local JPG, PNG or WebP file up to 10MB (read and uploaded by this local server). Use instead of image_url or imageBase64. | |
| image_url | No | Public https link to the JPG, PNG or WebP image (≤10MB). Alternative to imageBase64; send one of the two. | |
| imageBase64 | No | The JPG, PNG or WebP file (≤10MB), base64-encoded. Alternative to image_url. | |
| motionPrompt | Yes | Motion, camera and scene direction. | |
| imageFileName | No | Optional original file name. | |
| idempotencyKey | No |