Generate Image
generate_imageGenerate one or more Switch images with one of four models: GPT Image 2.5, Switch Pro, Switch Ultra or Nano Banana 2. Nothing older is offered or accepted (no old Nano Banana Pro, no GPT Image 2, no Switch Model). Auto-routes by subject when model is omitted: GPT Image 2.5 by default and for typography, screens and storyboards, Switch Pro for swimwear/beach, Switch Ultra for sexier content or face-fidelity work. Nano Banana 2 is never auto-picked, only used when named. Counts <= 8 render inline in chat; counts > 8 queue to your Switch Studio with progress polling. All images persist to your Studio library and folder. Pass an optional style (e.g. "wellness/warm_amber_tropical", "high_fashion_editorial/testino_glossy", "movie_scene/neon_noir_action") to apply a curated photographic stack from the apply_* skill tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | How many images to generate. Default 4. <= 8 returns inline, > 8 queues to Studio. Beta limit: max 50 per request — larger asks are capped at 50 and the response says so. | |
| model | No | Optional explicit model: GPT Image 2.5, Switch Pro, Switch Ultra or Nano Banana 2. Nothing else is accepted. If omitted, auto-routed to GPT Image 2.5, Switch Pro or Switch Ultra by subject (see tool description). | |
| style | No | Optional curated style stack from the apply_* skill tools. Format "<skill>/<style_key>", e.g. "wellness/warm_amber_tropical" or "high_fashion_editorial/leibovitz_painterly". | |
| subject | Yes | Plain-English description of what to generate. E.g. "a woman walking through a hotel lobby" or "morning coffee on the balcony, model wearing a robe". | |
| folder_name | No | Optional Switch Studio folder name. Auto-created if missing. Defaults to the chat-derived title. | |
| aspect_ratio | No | Image aspect ratio. Default 9:16 (vertical, social-friendly). | |
| real_photo_look | No | Optional. Adds the casual real-photo texture (film grain, amateur iPhone feel). OFF by default — only set true when the user asks for the realistic, unpolished look. | |
| face_reference_ids | No | Face reference asset ids from upload_reference_asset (frame_type "face"). The ONLY way to use a face/likeness reference. Each id is verified server-side (your own untouched original + identity verification) before anything generates or is charged; a URL or generic upload here is rejected. | |
| reference_image_urls | No | Optional public image URLs used as GENERIC references (products, scenery, outfits, style). These are never treated as face references — for a person's face/likeness use face_reference_ids. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | No | ||
| images | No | ||
| _widget | No |