Z-Image Text to Image
A photo-realistic AI image generator with distortion-free fonts, rich details and textures, precise rendering, seamless recreation of creative scenarios, and results on par with real photos.
Query Parameters
mode?string
Optional. Invocation mode. Defaults to synchronous.
Value in
"sync" | "async_websocket" | "async_callback"callback?string
Required when mode=async_callback. Used to receive async results.
costLookup?boolean
Optional. Defaults to false. When true, returns the points cost without executing the task.
Header Parameters
token*string
Default
""Request Body
application/json
prompt*string
Your image description. Tell the AI what you want to see.
Default
""negativePrompt?string
What to avoid in the image. Describe what you don't want.
Default
""imageRatio*string
The shape of your image.
Default
"1:1"Value in
"21:9" | "2:1" | "16:9" | "3:2" | "4:3" | "5:4" | "1:1" | "4:5" | "3:4" | "2:3" | "9:16" | "1:2" | "9:21"imageCount*integer
The number of images to generate.
Default
5Response Body
application/json
curl -X POST "https://api.crowdcomputed.com/api/v1/generate/z-image-text-to-image?mode=sync&callback=&costLookup=false" \ -H "token: " \ -H "Content-Type: application/json" \ -d '{ "prompt": "", "imageRatio": "1:1", "imageCount": 5 }'