modelApiDoc_getStartedBeforeModelrunwayml/runway-gen-4/turbo/image-to-videomodelApiDoc_getStartedAfterModel modelApiDoc_getStartedMid modelApiDoc_schemaLinkmodelApiDoc_getStartedAfterSchema
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/runwayml/runway-gen-4/turbo/image-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"promptImage": "https://playgrounds-storage-public.runcomfy.net/tools/7026/media-files/usecase1-1-input.png"
}'modelApiDoc_authP1 YOUR_API_TOKEN modelApiDoc_authP2 modelApiDoc_profilemodelApiDoc_authP3 Authorization modelApiDoc_authP4 Authorization: Bearer $YOUR_API_TOKENmodelApiDoc_authP5
modelApiDoc_submitBody
curl --request POST \
--url https://model-api.runcomfy.net/v1/models/runwayml/runway-gen-4/turbo/image-to-video \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"promptImage": "https://playgrounds-storage-public.runcomfy.net/tools/7026/media-files/usecase1-1-input.png"
}'modelApiDoc_monitorBody
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/status \
--header "Authorization: Bearer <token>"modelApiDoc_retrieveBody
curl --request GET \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/result \
--header "Authorization: Bearer <token>"modelApiDoc_cancelBody
curl --request POST \
--url https://model-api.runcomfy.net/v1/requests/{request_id}/cancel \
--header "Authorization: Bearer <token>"modelApiDoc_hostedFileBody
{
"type": "object",
"title": "modelApiDoc_navInputSchema",
"required": [
"promptImage"
],
"properties": {
"promptText": {
"title": "Prompt",
"description": "",
"type": "string",
"maxLength": 1000,
"default": "The subject sits in the driver's seat of a parked car in the forest. She starts the engine and slowly begins to drive forward along the narrow dirt path. Sunlight flickers through the trees as the car moves. The camera remains inside the car, handheld and steady, subtly tracking the subject's profile as she drives. Cinematic live-action, warm forest tones, shallow depth of field. "
},
"promptImage": {
"title": "Image",
"description": "Use images under 16MB, with dimensions below 8000x8000 pixels and an aspect ratio between 1:2 and 2:1.",
"type": "string",
"validations": [
{
"validation_rule": "width_pixels<",
"validation_value": 8000,
"validation_error": "The uploaded image width and height must not exceed 8000 pixels."
},
{
"validation_rule": "height_pixels<",
"validation_value": 8000,
"validation_error": "The uploaded image width and height must not exceed 8000 pixels."
},
{
"validation_rule": "width/height>",
"validation_value": 0.5,
"validation_error": "The aspect ratio range should be 1:2 to 2:1."
},
{
"validation_rule": "width/height<",
"validation_value": 2,
"validation_error": "The aspect ratio range should be 1:2 to 2:1."
},
{
"validation_rule": "file_size_mb<",
"validation_value": 16,
"validation_error": "File size must be less than 16 MB."
}
],
"default": "https://playgrounds-storage-public.runcomfy.net/tools/7026/media-files/usecase1-1-input.png"
},
"ratio": {
"title": "Aspect Ratio (W:H)",
"description": "",
"type": "string",
"enum": [
"1584:672",
"1280:720",
"1104:832",
"960:960",
"832:1104",
"720:1280"
],
"default": "1280:720"
},
"duration": {
"title": "Duration",
"description": "",
"type": "integer",
"enum": [
5,
10
],
"default": 5
},
"seed": {
"title": "Seed",
"description": "",
"maximum": 4294967295,
"minimum": 0,
"type": "integer",
"default": 936116745
}
}
}{
"output": {
"type": "object",
"properties": {
"image": {
"type": "string",
"format": "uri",
"description": "modelApiDoc_outDescImage"
},
"video": {
"type": "string",
"format": "uri",
"description": "modelApiDoc_outDescVideo"
},
"images": {
"type": "array",
"description": "modelApiDoc_outDescImages",
"items": {
"type": "string",
"format": "uri"
}
},
"videos": {
"type": "array",
"description": "modelApiDoc_outDescVideos",
"items": {
"type": "string",
"format": "uri"
}
}
}
}
}RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.