Modellparameter
Nano Banana
Für schnelle Bilderzeugung, Bearbeitung und Figuren im Stil von Merchandise-Produkten.
POST
/api/go/b2b/tasks/createtask_type: API_TEXT_TO_IMAGE
Parameter
| Field | Type | Required | Description |
|---|---|---|---|
prompt | string | Required Yes | Prompt text. Required unless prompt_template_id is provided. |
model | string | Required No | nano = Nano Banana; nano2 = Nano Banana 2; pro = Nano Banana Pro |
watermark | boolean | Required No | Wasserzeichen hinzufügen; Standard false (kein Wasserzeichen). |
prompt_template_id | integer | Required No | Prompt template ID. Can be combined with prompt. |
input_image_urls | array | Required No | Previously uploaded or CDN image paths. |
b64_images | array | Required No | Base64 reference images for new uploads. |
Nutzungshinweise
- Asynchrone JSON-Aufgabe. Einmal senden, task_id speichern und /tasks/get abfragen.
Anfragebeispiel
params · JSON
{
"model": "nano",
"prompt": "A collectible anime figure, product photography, soft studio light",
"watermark": false
}