Overview
Runway Gen4 Image generates still images from text prompts and optional reference images. Use it for higher-quality image generation when you need explicit aspect ratio, resolution, and seed controls.Endpoint and authentication
Base URL:
All requests require your APIXO API key:
Copy-paste async quickstart
taskId; you need it to poll for the final result.
Poll for result
Request body
Text-to-image
Text-to-image with optional references
Image-to-image
Parameters
string
default:"async"
Result delivery mode. Use
async for polling with statusTask, or callback for webhook delivery.string
Required when
request_type is callback. Must be a public HTTPS URL that can receive the final task payload. See Webhooks.object
required
Runway Gen4 Image input parameters.
Response format
Submit task response
POST /generateTask/runway-gen4-image returns a task ID when the task is accepted:
integer
API status code.
200 means the task was accepted.string
Human-readable status message.
string
Unique task identifier used with the status endpoint.
Status response fields
string
Unique task identifier.
string
Current task state:
pending, processing, success, or failed.string
JSON string containing generated image URLs in
resultUrls. Present when state is success.string
Machine-readable failure code. Present when
state is failed.string
Human-readable failure message. Present when
state is failed.integer
Task creation timestamp in Unix milliseconds.
integer
Task completion timestamp in Unix milliseconds. Present after completion.
integer
Processing duration in milliseconds when available.
Webhook callback mode
Use callback mode when your backend should receive the final result automatically instead of polling.Billing
Runway Gen4 Image is billed per generated image.text-to-image and image-to-image use the same price for the same resolution.
Latency and polling
Actual latency may vary by prompt complexity, reference image accessibility, resolution, and current queue load.Validation notes
Errors and troubleshooting
See Error Codes for the full error reference.