What you send
POST /v1/videos as multipart/form-data. Sending a first frame and no last frame selects this mode.
Send the frame as a file or as a URL, not both.
resolution, enhance, seed and watermark work as in every mode; see Common parameters.
Image limits
A first frame can’t be combined with reference images or a reference video. Those belong to Reference to video.
Price
Same as every Viggle H3 mode: per second byresolution, plus $0.01 per second with `enhance` on. The image is free. The example below (5 seconds, 768p, enhance on) costs 10 credits ($0.10). See the rate table.
Generate a video
ExportVIGGLE_API_KEY and run one of these as-is. They use a sample character image hosted by Viggle; swap in your own URL when you’re ready. Each script polls every 5 seconds and prints the video URL. The cURL version needs jq.
first_frame_image:
Get the result
The create call returns avid_ ID with status: "queued". Poll GET /v1/videos/{video_id} until status is ready, then download video_url.
- The link is valid for one hour, and every read returns a fresh one.
- The video is deleted 24 hours after the job finishes. Copy it to your own storage.
- Only the API key that created the job can read it.
400 INVALID_REQUEST, before anything is charged. See Task lifecycle and Errors.
Tips
- Describe motion, not the picture. The image already sets the scene, so spend the prompt on what moves and how the camera behaves.
- Set
aspect_ratioto match the image. It defaults to16:9whatever shape the image is.
Next steps
First and last frame to video
Control where the shot starts and where it ends.
Reference to video
Keep a subject or style without fixing the opening frame.
Viggle H3 overview
All four modes, common parameters and prices.
Create a video (API reference)
Every field, limit and error for
POST /v1/videos.