Overview
Generate AI-powered images with ShuttleAI.All endpoints are under
https://api.shuttleai.com/v1/images/generations.
Authentication Required:
All endpoints require a Bearer token in theAuthorizationheader.
Endpoints
Create Images
Generate one or more images from a text prompt. POST/generations
Request:
| Parameter | Type | Required | Description |
|---|---|---|---|
prompt | string | ✅ | Text prompt describing the image(s) to generate |
model | string | ❌ | Model to use. Only shuttle-image is supported (default) |
n | integer | ❌ | Number of images to generate. Min 1, Max 4 (default: 1) |
size | string | ✅ | Image dimensions. Allowed: “1024x1024”, “1792x1024”, “1024x1792” (default: “1024x1024”) |
response_format | string | ❌ | Format of the returned data. Allowed: “url” (default) or “b64_json” |
Pricing
| Size | Request Multiplier |
|---|---|
| 1024x1024 | 1.0 |
| 1792x1024 / 1024x1792 | 1.5 |