Endpoint
openai SDK or call directly.
Request
| Field | Type | Notes |
|---|---|---|
model | string | See /v1/models for the list. Default lustify-v8. |
prompt | string | Up to 5000 chars |
n | int | 1–4 |
size | string | 1024x1024, 1792x1024, 1024x1792, or any WxH |
response_format | enum | url (default, served from our CDN) or b64_json |
negative_prompt | string | Optional — describe what to exclude from the image |
seed | int | Reproducibility |
style_preset | string | Provider-specific |
Response
Code samples
Specialty models
Specialty creative-mode models (lustify-v8, lustify-v7, chroma,
z-image-turbo, wai-Illustrious) skip provider-side content filtering.
Standard models (Google, OpenAI, etc.) enforce stricter content policies
and may return 422 on rejected prompts. Pick the right model for your
use case.
Billing
See Pricing. Per-image cost ranges from 1 credit (specialty models) to 9 credits (Recraft V4 Pro). Multi-image (n > 1) bills
linearly.