AI Images

Z Image, Generate with prompt

Text to image with prompt.

get/ai-image/zimage

Query parameters

promptstring required

Prompt to generate the image

ratiostring

Available ratios: 1:1, 16:9, 9:16, 4:3, 3:4.

Response

Success - Got the response

creatorstring

The creator of the API

messagestring

Unnecessary message for the user

okboolean

Indicates if the operation was successful

jobIdnumber

job id that you can use in endpoint /task

task_urlstring

Task URL that you'll use for the next request

Example response

{
  "creator": "@PaxSenix",
  "message": "Here is your job id and task url!",
  "ok": true,
  "jobId": 183829,
  "task_url": "https://example.com/task/19299"
}

Changes

No recorded changes to this endpoint across all 1 revision of this API.