v1

latestOpenAPI 3.0.32026-07-26451985.7 KB

text-to-image

Generate images using text

post/models/v2/dreamlike-art/dreamlike-photoreal-2.0

Request body

textstring required

The input text

Example request

{
  "text": "A beautiful landscape with mountains and a river"
}

Response

Successful text-to-image response.

errorstring nullable required

Null on success; otherwise an error message.

outputstring required

Successful response with the generated image link

Example response

{
  "output": "https://api.bytez.com/image/1234567890"
}