POST
/v1/images/generate1 creditGenerate Concept Image
Render high-fidelity 2D concept art and orthographic visual references using leading vision models (OpenAI Flare / Sunburst or Google Gemini Flash / Pro Image).
AuthenticationAuthorization: Bearer hyd_live_your_api_key_here
Base URLhttps://backend.hydrilla.ai
Overview
Render high-fidelity 2D concept art and orthographic visual references using leading vision models (OpenAI Flare / Sunburst or Google Gemini Flash / Pro Image).
Request bodyapplication/json
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| prompt# | string | required | — | Detailed description of the asset to illustrate. |
| model# | string | optional | gpt-image-2.5-flare | Target model: gpt-image-2.5-flare, gpt-image-2.5-sunburst, gemini-3.1-flash-image, or gemini-3-pro-image. |
| aspect_ratio# | string | optional | 1:1 | Image aspect ratio: '1:1', '3:2', or '2:3'. |
promptrequired
string
Detailed description of the asset to illustrate.
modeloptional
stringdefault: gpt-image-2.5-flare
Target model: gpt-image-2.5-flare, gpt-image-2.5-sunburst, gemini-3.1-flash-image, or gemini-3-pro-image.
aspect_ratiooptional
stringdefault: 1:1
Image aspect ratio: '1:1', '3:2', or '2:3'.
Response
Successful requests return the job object. Errors use the status codes below.
Authentication errors
401 — Invalid or revoked API key. 402 — Not enough credits.
curl -X POST https://backend.hydrilla.ai/v1/images/generate \
-H "Authorization: Bearer hyd_live_your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Sci-fi tactical rover with solar panels, clean studio render",
"model": "gpt-image-2.5-flare",
"aspect_ratio": "1:1"
}'import requests
url = "https://backend.hydrilla.ai/v1/images/generate"
headers = {
"Authorization": "Bearer hyd_live_your_api_key_here",
"Content-Type": "application/json"
}
payload = {
"prompt": "Sci-fi tactical rover with solar panels, clean studio render",
"model": "gpt-image-2.5-flare"
}
response = requests.post(url, headers=headers, json=payload)
print("Image URL:", response.json()["image_url"])const response = await fetch("https://backend.hydrilla.ai/v1/images/generate", {
method: "POST",
headers: {
"Authorization": "Bearer hyd_live_your_api_key_here",
"Content-Type": "application/json"
},
body: JSON.stringify({
prompt: "Sci-fi tactical rover with solar panels, clean studio render",
model: "gpt-image-2.5-flare"
})
});
const data = await response.json();
console.log("Rendered Image:", data.image_url);{
"image_url": "https://hydrilla-assets.s3.amazonaws.com/generated/img_20260930_rover.png",
"model": "gpt-image-2.5-flare",
"prompt": "Sci-fi tactical rover with solar panels, clean studio render",
"width": 1024,
"height": 1024
}Response fields
- image_url string
- model string
- prompt string
- width number
- height number
{
"error": "Unauthorized",
"message": "Invalid or revoked API key."
}