curl --request POST \
--url https://api.modellix.ai/api/v1/google/nano-banana-pro-edit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Replace the background with a futuristic neon cityscape at night",
"image": "https://example.com/image.jpg"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-i2i002",
"model_id": "google/nano-banana-pro-edit",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-i2i002"
}
}
}{
"code": 400,
"message": "Invalid parameters: parameter 'prompt' is required"
}{
"code": 401,
"message": "Authentication failed: invalid API key"
}{
"code": 429,
"message": "Rate limit exceeded: 100 requests per minute, retry after 60 seconds"
}{
"code": 500,
"message": "Internal server error"
}Nano Banana Pro Edit
[Core Function] Nano Banana Pro Edit is a high-capability creative image editing model. [Strengths] It provides high-quality creative edits, background replacements, and style transformations. [Best For] Highly recommended for: detailed creative modifications and complex style transfers. [Limitations] Do NOT use for strict photorealistic restoration. [Routing] Use this model for detailed, high-quality creative edits.
POST
/
google
/
nano-banana-pro-edit
curl --request POST \
--url https://api.modellix.ai/api/v1/google/nano-banana-pro-edit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Replace the background with a futuristic neon cityscape at night",
"image": "https://example.com/image.jpg"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-i2i002",
"model_id": "google/nano-banana-pro-edit",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-i2i002"
}
}
}{
"code": 400,
"message": "Invalid parameters: parameter 'prompt' is required"
}{
"code": 401,
"message": "Authentication failed: invalid API key"
}{
"code": 429,
"message": "Rate limit exceeded: 100 requests per minute, retry after 60 seconds"
}{
"code": 500,
"message": "Internal server error"
}Body
application/json