Turn a drawing into a video
draw_to_videoBring a drawing to life: a sketch becomes a finished scene first, or the marks on a marked-up photo are cleaned off, then it becomes a video that follows the description. Two steps with one quote and one approval (about 30 to 300 credits with the defaults). Returns a batch_id; call get_batch for the video.
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": {
"image_url": "<image_url>",
"prompt": "<prompt>"
},
"name": "draw_to_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| look | No | Sketches only: the look of the finished scene, for example photo-real, anime, 3D animation, watercolor. Default photo-real. | |
| prompt | Yes | What happens in the video, in plain words. Spell out what the arrows and notes mean, for example: the car drives from the bottom left to the top right, the camera slowly follows. | |
| drawing | No | sketch (default): a drawing to turn into a real scene first. marked_photo: a photo with marks to clean off first. | |
| image_url | Yes | The drawing: a sketch, or a photo with arrows and notes drawn on it (popnow:// or https link). | |
| max_credits | No | The most PopNow credits the user agreed to spend on both steps together. Only set it after the user confirmed the quoted total. | |
| aspect_ratio | No | Sketches only: 16:9 (default), 9:16 or 1:1. | |
| duration_seconds | No | Length in seconds. Default 5. |