Skip to content

Bytedance V1 Pro Image to Video ​

Endpoint ​

POST /videos/generations

Full URL: https://modelfold.ai/v1/videos/generations

Authentication: every request must include the Authorization: Bearer <API_KEY> header.

Send model parameters directly in the JSON body. Do not wrap them in input. This request waits for generation to finish and returns data[].url; supported media models also offer async jobs, polling and callbacks. Replace example media URLs with your own publicly accessible files. See API gateway for billing and errors.

Input parameters for the generation task

Request Parameters ​

Body (application/json) ​

ParameterTypeRequiredDescription
modelstringYesThe model name to use for generation. Required field.
- Must be bytedance/v1-pro-image-to-video for this endpoint Default:"bytedance/v1-pro-image-to-video"。 Allowed values:bytedance/v1-pro-image-to-video。 Example:bytedance/v1-pro-image-to-video。
promptstringYesPrompt required by the ModelFold gateway; at most 2000 characters. The text prompt used to generate the video (Max length: 10000 characters) maxLength: 2000. Example:A golden retriever dashing through shallow surf at the beach, back angle camera low near waterline, splashes frozen in time, blur trails in waves and paws, afternoon sun glinting off wet fur, overcast day, dramatic clouds。
image_urlstringYesThe URL of the image used to generate video (File URL after upload, not file content; Accepted types: image/jpeg, image/png, image/webp; Max size: 10.0MB) Example:https://file.aiquickdraw.com/custom-page/akr/section-images/1755179021328w1nhip18.webp。
resolutionstringNoVideo resolution - 480p for faster generation, 720p for balance, 1080p for higher quality Default:"720p"。 Allowed values:480p / 720p / 1080p。 Example:720p。
durationstringNoDuration of the video in seconds Default:"5"。 Allowed values:5 / 10。 Example:5。
camera_fixedbooleanNoWhether to fix the camera position (Boolean value (true/false)) Example:false。
seednumberNoRandom seed to control video generation. Use -1 for random. (Min: -1, Max: 2147483647, Step: 1) (step: 1) Default:-1。 minimum: -1. maximum: 2147483647. Example:-1。
enable_safety_checkerbooleanNoThe safety checker is always enabled in Playground. It can only be disabled by setting false through the API. (Boolean value (true/false)) Example:true。
nsfw_checkerbooleanNoDefaults to false. When false, no additional content filtering is applied and results are returned directly by the model.

Request Example ​

bash
curl -X POST "https://modelfold.ai/v1/videos/generations" \
  -H "Authorization: Bearer $MODELFOLD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "bytedance/v1-pro-image-to-video",
  "prompt": "A golden retriever dashing through shallow surf at the beach, back angle camera low near waterline, splashes frozen in time, blur trails in waves and paws, afternoon sun glinting off wet fur, overcast day, dramatic clouds",
  "image_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/1755179021328w1nhip18.webp",
  "resolution": "720p",
  "duration": "5",
  "seed": -1
}'
json
{
  "model": "bytedance/v1-pro-image-to-video",
  "prompt": "A golden retriever dashing through shallow surf at the beach, back angle camera low near waterline, splashes frozen in time, blur trails in waves and paws, afternoon sun glinting off wet fur, overcast day, dramatic clouds",
  "image_url": "https://file.aiquickdraw.com/custom-page/akr/section-images/1755179021328w1nhip18.webp",
  "resolution": "720p",
  "duration": "5",
  "seed": -1
}

Response ​

200 — Generation completed. usage contains actual billing details; result URLs are illustrative. ​

json
{
  "ok": true,
  "created": 1792134000,
  "data": [
    {
      "url": "https://modelfold.ai/uploads/outputs/result.mp4"
    }
  ],
  "usage": {}
}

ModelFold — one API for all the best AI models.