Nano Banana Pro Prompt Engineer
Nano Banana Pro Prompt Engineer · GPT-Aktionen
Nano Banana API
POST /api/gpts/create-taskCreates a image generation task based on an prompt.
Ursprüngliches API-Schema
{
"openapi": "3.1.0",
"info": {
"title": "Nano Banana API",
"version": "1.0.1"
},
"servers": [
{
"url": "https://picir.ai"
}
],
"paths": {
"/api/gpts/create-task": {
"post": {
"operationId": "createTask",
"summary": "Creates a image generation task based on an prompt.",
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"prompt",
"generateType",
"taskType",
"gptId"
],
"properties": {
"prompt": {
"type": "string",
"description": "complete, detailed Nano Banana prompt"
},
"generateType": {
"type": "string",
"description": "'text-to-image' for Create a new image or Random Prompt, and 'image-to-image' for Image Editing."
},
"taskType": {
"type": "string",
"description": "Task type, fixed as nano-banana-pro"
},
"gptId": {
"type": "string",
"description": "The ID of gpts is always 'LuBjHrBs5'"
}
}
}
}
}
},
"responses": {
"200": {
"description": "Task created successfully",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"success": {
"type": "boolean",
"example": true
},
"taskId": {
"type": "string",
"description": "UUID of the created task"
},
"redirectUrl": {
"type": "string",
"description": "URL to redirect user for task completion"
},
"message": {
"type": "string",
"description": "Success message"
}
}
}
}
}
}
}
}
}
}
}