Model Router
Routed image generation
Changed onStart an image generation task using a saved Model Router config instead of naming a model.
post/v1/generate/image
Request
- Base URLhttps://api.dev.runwayml.com
- URLhttps://api.dev.runwayml.com/v1/generate/image
- AuthHTTP bearer
Headers
X-Runway-Version'2024-11-06' required
The version of the RunwayML API being used. You can read more about versioning here.
Request body
Example request
{
"input": {
"referenceImages": [
{
"uri": "https://example.com/image.jpg"
}
]
}
}Response
The routing decision. Includes a task id for real requests; dry runs return the decision only.
Changes
- info
the response property
///became required for the status - info
the response property
///became required for the status
- info
- breaking
the response property
///became optional for the status - breaking
the response property
///became optional for the status
- breaking