Endpoint
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | Yes | A text description of the desired image. |
model | string | No | The model to use. Defaults to our optimized Flux instance. |
n | integer | No | The number of images to generate (currently supports 1). |
size | string | No | The dimensions of the image (e.g., 1024x1024). |
Example Usage
Tips for Better Prompts
- Be Descriptive: Instead of “a car”, try “a classic 1960s sports car driving through a neon-lit Tokyo street at night”.
- Specify Style: Add terms like “photorealistic”, “oil painting”, “minimalist”, or “3D render” to guide the aesthetic.
- Lighting and Mood: Use descriptors like “golden hour”, “cinematic lighting”, or “gloomy atmosphere”.