Runway's Gen-4 image model supports reference image functionality. You can use up to 3 reference images to create the precise image you need, capturing every angle.
Request
Header Params
Body Params application/json
Example
{"aspect_ratio":"9:16","enable_base64_output":false,"prompt":"In a dusty, cluttered garage filled with old books and woodworking tools, a kind grandfather is bending over, his hands gently guiding his young grandson's hands as he learns to sand a small piece of wood with sandpaper. Afternoon sunlight slants in through the open garage door, creating a warm beam of light that illuminates the floating sawdust. The child's expression is a mixture of concentration and curiosity, while the grandfather's eyes are full of patience and love.\n\n\n\n\n\n","reference_images":[],"resolution":"1080p"}
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://api.302.ai/ws/api/v3/runwayml/gen4-image' \
--header'Authorization: Bearer ' \
--header'Content-Type: application/json' \
--data-raw'{
"aspect_ratio": "9:16",
"enable_base64_output": false,
"prompt": "In a dusty, cluttered garage filled with old books and woodworking tools, a kind grandfather is bending over, his hands gently guiding his young grandson'\''s hands as he learns to sand a small piece of wood with sandpaper. Afternoon sunlight slants in through the open garage door, creating a warm beam of light that illuminates the floating sawdust. The child'\''s expression is a mixture of concentration and curiosity, while the grandfather'\''s eyes are full of patience and love.\n\n\n\n\n\n",
"reference_images": [],
"resolution": "1080p"
}'