What you send
POST /v1/videos as multipart/form-data. Sending both a first frame and a last frame selects this mode.
Each frame is a file or a URL, not both, and the two frames can mix (for example an uploaded first frame and a hosted last frame). A last frame without a first frame is rejected with
400. resolution, enhance, seed and watermark work as in every mode; see Common parameters.
Image limits
Both frames follow the same rules.
Frames can’t be combined with reference images or a reference video.
Price
Same as every Viggle H3 mode: per second byresolution, plus $0.01 per second with `enhance` on. The two images are 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. To stay runnable with no files of your own, they use the same sample image as both frames, which makes a loop that starts and ends on one pose. Swap in your own two URLs when you’re ready. Each script polls every 5 seconds and prints the video URL. The cURL version needs jq.
[email protected] and [email protected] in place of the URL fields.
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.
Next steps
First frame to video
Fix only the opening frame and let the prompt lead.
Reference to video
Keep a subject or style without fixing any 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.