curl --request POST \
--url https://api.modellix.ai/api/v1/google/nano-banana-edit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Convert this photo to an oil painting style",
"image": "https://example.com/image.jpg"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-i2i001",
"model_id": "google/nano-banana-edit",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-i2i001"
}
}
}{
"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 Edit
Google’s fast image editor for straightforward instruction edits. It uses 1 to 3 images together as the reference for the change.
POST
/
google
/
nano-banana-edit
curl --request POST \
--url https://api.modellix.ai/api/v1/google/nano-banana-edit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"prompt": "Convert this photo to an oil painting style",
"image": "https://example.com/image.jpg"
}
'{
"code": 0,
"message": "success",
"data": {
"status": "pending",
"task_id": "task-i2i001",
"model_id": "google/nano-banana-edit",
"get_result": {
"method": "GET",
"url": "https://api.modellix.ai/api/v1/tasks/task-i2i001"
}
}
}{
"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