Start generating

Text/Image to Image

Changed on

This endpoint will start a new task to generate images from text and/or image(s)

post/v1/text_to_image

Request

  • Base URL
    https://api.dev.runwayml.com
  • URL
    https://api.dev.runwayml.com/v1/text_to_image
  • Auth
    HTTP 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

OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR
OR

Example request

{
  "referenceImages": [
    {
      "uri": "https://example.com/image.jpg"
    }
  ]
}

Response

The task that was created.

idstring uuid required

The ID of the task that was created. Use this to retrieve the task later.

Changes

    • info

      added subschema #19: recraft_v4_1_flash subschema #20: recraft_v4_1_vector to the request body oneOf list

    • info

      added subschema #9: gemini_image3.1_flash_lite subschema #13: bria_fibo_1_5 subschema #14: bria_fibo_edit_1_5 subschema #17: seedream5_flash subschema #18: nano_banana_2.1 to the request body oneOf list