ModelsLab/Z Image Turbo
z-image-turboA distilled version of Z-Image that matches or exceeds leading competitors with only 8 NFEs (Number of Function Evaluations)
API Endpoint URL
Base URL for all API requests to this endpoint.
https://modelslab.com/api/v6/images/text2img
API Authentication
Authentication requires a valid API key included in the request. Generate and manage your API keys from your developer dashboard. Include the key in the key parameter for all API requests.
Integration Examples
Production-ready code samples for API integration
{"prompt": "A highly detailed, ultra-realistic scene inside a modern McDonald’s restaurant. At the counter stands a friendly anthropomorphic creature resembling a furry monster or gentle beast. The creature has thick golden-brown fur, expressive round eyes, a wide flat nose, and a soft, friendly facial expression. It is wearing an official McDonald’s uniform: a dark grey short-sleeve button-up shirt with a red-and-yellow McDonald’s logo patch on the chest, dark trousers, and a navy-blue McDonald’s cap with the iconic yellow ‘M’. The creature has large, clawed hands covered in brown fur, and is handing over a classic McDonald’s brown takeaway bag with the yellow ‘M’ printed on it.\nThe environment is a bright, clean fast-food interior with white tiled walls, digital menu screens in the background showing burgers, fries, and nuggets. Warm overhead lighting creates a soft, natural look. Include realistic reflections, textures on fur and clothing, stainless steel counters, beverage machines, and other small restaurant details. The overall mood is fun, friendly, and slightly whimsical, but rendered in crisp photographic quality, 8K realism.₹","width": "1024","height": "1024","samples": "1","model_id": "z-image-turbo","key": "YOUR_API_KEY"}
SDKs
Official SDKs
Production-ready SDKs and client libraries for all major programming languages
API Parameters
Technical specifications for API request parameters.
| Field Name | Parameter | Technical Description |
|---|---|---|
| Prompt | prompt | Enter the text for the image you want to generate |
| Width | width | Max width supported is 1488 |
| Height | height | Max height supported is 1488 |
| Number of Images | samples | Number of images that can be generated in a single request |
| Model | model_id | Model selected for generating the image. Each model generate different image. |