Leonardo AlbedoBase XL - Image Generator
Generate high-quality images from text prompts using Leonardo AlbedoBase XL.
Endpoint
Request Body
Parameter | Type | Required | Description |
---|---|---|---|
type | string | Yes | Feature type identifier. Must be IMAGE_GENERATOR |
model | string | Yes | AI model identifier. Must be 2067ae52-33fd-4a82-bb92-c2c55e7d2786 |
promptObject | object | Yes | Feature-specific parameters |
Prompt Object Parameters
Parameter | Type | Required | Description |
---|---|---|---|
prompt | string | Yes | Image description |
n | number | Yes | Number of images |
size | string | Yes | Image size. Options: 512x512 |
negativePrompt | string | Yes | Things to exclude from image |
Example Request
- cURL
curl --location 'https://api.1min.ai/api/features' \
--header 'API-KEY: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"type": "IMAGE_GENERATOR",
"model": "2067ae52-33fd-4a82-bb92-c2c55e7d2786",
"promptObject": {
"prompt": "Realistic portrait of a person",
"n": 1,
"size": "512x512",
"negativePrompt": "people"
}
}'
Response Payload
{}
Authentication
This endpoint requires an API key to be provided in the API-KEY
header.