Create image
Images
Create image
OpenAI-compatible image generation. Also accepts Qwen-compatible payloads (wanx-v1 style models) using an input.messages wrapper instead of prompt.
POST
Create image
Authorizations
Your DGrid API key. All endpoints use Authorization: Bearer <DGRID_API_KEY>.
Body
application/json
- OpenAI format
- Qwen format
Image prompt.
Model such as dall-e-2 or dall-e-3.
Number of images to generate.
Available options:
standard, hd Available options:
url, b64_json Output size.
Available options:
vivid, natural End-user identifier.

