WaveSpeedAI APIRunwaymlRunwayml Gen4 Image

Runwayml Gen4 Image

Runwayml Gen4 Image

Playground

Try it on WavespeedAI!

Runway’s Gen-4 Image model with references. Use up to 3 reference images to create the exact image you need. Capture every angle.

Features

Overview

Gen-4 Image with references enables generation of consistent characters and locations using 1-3 reference images. The model preserves visual identity while allowing transformation of lighting, poses, settings, and styling through text prompts.

Core Features

  • Character preservation: Maintain facial features and identity across different scenes
  • Location consistency: Generate multiple angles and shots of the same environment
  • Multi-reference support: Use up to 3 reference images per generation
  • Conversational prompting: Natural language descriptions with iterative refinement

Optimal reference images

  • Natural, even lighting (avoid harsh shadows)
  • Neutral expressions for maximum flexibility
  • Moderate to high quality
  • Clear subject visibility

Usage Patterns

Single Reference

Use text prompts to describe transformations while preserving character identity.

@character_name wearing a leather jacket in a cyberpunk city

Multi-Reference

Combine character and scene references for precise control.

@character sitting in @location with dramatic lighting

Scene Generation

Create consistent environments from different angles.

show the castle courtyard from above
wide shot of the same location at sunset  

Advanced Workflows

  • Iterative refinement: Use generated outputs as new references to build complex scenes step-by-step.
  • Separate pathways: Develop character and environment references independently, then combine.
  • Element isolation: Generate specific clothing, poses, or lighting setups as references for final compositions.

Authentication

For authentication details, please refer to the Authentication Guide.

API Endpoints

Submit Task & Query Result


# Submit the task
curl --location --request POST "https://api.wavespeed.ai/api/v3/runwayml/gen4-image" \
--header "Content-Type: application/json" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}" \
--data-raw '{
    "aspect_ratio": "4:3",
    "resolution": "1080p",
    "enable_base64_output": false
}'

# Get the result
curl --location --request GET "https://api.wavespeed.ai/api/v3/predictions/${requestId}/result" \
--header "Authorization: Bearer ${WAVESPEED_API_KEY}"

Parameters

Task Submission Parameters

Request Parameters

ParameterTypeRequiredDefaultRangeDescription
promptstringYes-The prompt to generate an image from.
aspect_ratiostringNo4:31:1, 16:9, 9:16, 4:3, 3:4The aspect ratio of the generated image.
resolutionstringNo1080p1080p, 720pThe resolution of the generated image.
reference_imagesarrayNo--A list of images to use as style references.
seedintegerNo--1 ~ 2147483647The seed to use for the image generation.
enable_base64_outputbooleanNofalse-If enabled, the output will be encoded into a BASE64 string instead of a URL. This property is only available through the API.

Response Parameters

ParameterTypeDescription
codeintegerHTTP status code (e.g., 200 for success)
messagestringStatus message (e.g., “success”)
data.idstringUnique identifier for the prediction, Task Id
data.modelstringModel ID used for the prediction
data.outputsarrayArray of URLs to the generated content (empty when status is not completed)
data.urlsobjectObject containing related API endpoints
data.urls.getstringURL to retrieve the prediction result
data.has_nsfw_contentsarrayArray of boolean values indicating NSFW detection for each output
data.statusstringStatus of the task: created, processing, completed, or failed
data.created_atstringISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”)
data.errorstringError message (empty if no error occurred)
data.timingsobjectObject containing timing details
data.timings.inferenceintegerInference time in milliseconds

Result Request Parameters

© 2025 WaveSpeedAI. All rights reserved.