🔨 In Development — This section is still being developed and may change.
POSThttps://api.freddy.aitronos.com/v1/images/generate
Generate high-quality images from text prompts using advanced Freddy models.
Authorization: Bearer $FREDDY_API_KEY
prompt string required
Primary description of the image to create.
model string optional
Specific image model to use. Defaults to the recommended production model.
size string optional
Output dimensions. Supported: 256x256, 512x512, 1024x1024, 1024x1792, 1792x1024. Default is 1024x1024.
quality string optional
Rendering quality. Either standard or hd. Default is standard.
style string optional
Optional artistic style guidance.
n integer optional
Number of variants to produce (1-4). Default is 1.
Array of generated image records.
{
"data": [
{
"url": "https://api.freddy.aitronos.com/generated-images/img_abc123.png",
"revised_prompt": "A serene mountain landscape at sunset with a crystal clear lake in the foreground",
"seed": 123456789
}
]
}Bash
- Bash
- Python
- JavaScript
curl -X POST "https://api.freddy.aitronos.com/v1/images/generate" \
-H "Authorization: Bearer $FREDDY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "A serene mountain landscape at sunset with a crystal clear lake",
"size": "1024x1024",
"quality": "hd",
"n": 1
}'