curl --request POST \
--url https://api.modellix.ai/api/v1/google/nano-banana/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A serene mountain lake at golden hour with reflections"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-abc123",
"model_id": "google/nano-banana",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-abc123"
}
}
}Nano Banana image generation model. Returns results via async task polling. Supports prompt and optional aspect ratio.
POST
/
nano-banana
/
async
curl --request POST \
--url https://api.modellix.ai/api/v1/google/nano-banana/async \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "A serene mountain lake at golden hour with reflections"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-abc123",
"model_id": "google/nano-banana",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-abc123"
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.modellix.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API Key authentication. Format: Bearer YOUR_API_KEY.
Body
application/json
⌘I