How to Use Phota Text to Image in Gemini
Phota Text to Image creates portraits, headshots, and new scenes from a written description, with trained profiles for recognizable people. Unlike Phota Image Editing, it builds the composition without an input photo.
Prompts to try with Phota Text to Image in Gemini
Copy an example into Gemini, or ask in your own words.
Use Phota Text to Image to make a square professional headshot using my saved profile. Show me from the chest up against a gray background, with soft side lighting and a natural smile.
Use Phota Text to Image to create a holiday portrait with my saved profile and my dog's saved profile. Seat us beside a decorated window, with warm afternoon light and room above us for a greeting.
Use Phota Text to Image to create a 4K portrait with Nano Banana 2 using my saved profile. Place me beside a large studio window, with a dark blue jacket, a relaxed pose, and a softly blurred background.
Generate a product photo with Phota Text to Image: a matte black water bottle on wet slate, soft morning light, 1:1. Tell me the price first.
Make four logo concepts for a coffee brand called "Northline" with Phota Text to Image.
How to set up Phota Text to Image in Gemini
Pick the way that suits you. Each takes about two minutes.
Use the Gemini connector
- Open Connected Apps
On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.
- Add Spiral as a custom app
Under Custom apps, click Add a custom app and paste this MCP server URL:
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.
Use the Spiral skill
- Send Gemini this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Phota Text to Image
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "fal", "model": "fal-ai/phota", "input": { "prompt": "Middle Eastern man in traditional clothing sitting in a cool tent in the desert with a laptop" } }'
Then paste one of the prompts above: Gemini finds Phota Text to Image on Spiral, shows the price and runs it.
Phota Text to Image providers and prices
Spiral runs Phota Text to Image through fal. Open a card for today's price, with every fee included.
$0.117 per run at the default inputs. resolution: 1K (default) $0.117, 4K $0.234. Per unit of num_images: 1K (default) $0.117, 4K $0.234.
Settings you can ask for
Phota Text to Image works from your prompt. Ask Gemini for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Number of images | 1 to 4 | 1 | Number of images to generate. |
| Output format | jpeg or png | jpeg | The format of the generated image. |
| Resolution | 1K or 4K | 1K | Resolution of the generated image. |
| Aspect ratio | auto, 1:1, 16:9, 4:3, 3:4, or 9:16 | auto | Aspect ratio of the generated image. |
| Base model | nb2, qwen-image-2, flux-2, or seedream-5-pro | nb2 | Base model used to render the image. Identity composes on top of whichever base model is selected, so trained profiles work with all of them. Only |
Every API field of Phota Text to Image is on its tool page: open its card above.
What can you do with Phota Text to Image in Gemini?
Turn a visual idea into portraits, themed scenes, or campaign images featuring recognizable people. A chat app can help specify the framing and lighting, then compare candidates with you.
Matching team headshots
Create portraits with the same framing, background, and lighting for a team page. Use each person's trained profile and repeat the photographic direction.
Profile portraits
Make a recognizable portrait for a speaker bio or social profile, with a setting and expression chosen for the intended audience.
Seasonal cards
Create holiday portraits featuring known people or pets, with coordinated clothing, lighting, and scenery.
Campaign photo sets
Carry the same recognizable person through several campaign scenes. Keep the cast and photographic direction consistent while changing the setting.
Storyboard images
Build individual shots for a storyboard with a recurring cast. Specify each character's position, expression, and action in every scene.
Keyframes for video
Create still start and end frames featuring the same person for a separate image-to-video model.
More on Phota Text to Image and Gemini
Overview
Phota Text to Image in other agents
Questions about Phota Text to Image in Gemini
Can Gemini use Phota Text to Image?
Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run Phota Text to Image like any built-in tool.
How much does Phota Text to Image cost in Gemini?
$0.117 per run at the default inputs. `resolution`: 1K (default) $0.117, 4K $0.234. $0.117 per unit of `num_images`. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Gemini plan is separate.
Do I need a fal account to use Phota Text to Image in Gemini?
No. Spiral runs Phota Text to Image on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Phota Text to Image in Gemini?
About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.
Does Gemini wait while Phota Text to Image runs?
Phota Text to Image runs in the background. Gemini starts the run, checks on it and gives you the image when it's ready.
What is Phota best at?
Phota is built for portraits and scenes where a specific person should remain recognizable. Useful applications include headshots, themed photo sets, campaign images, and storyboards with a recurring cast.
Why might a Phota portrait look like a different person?
Phota needs the correct trained profile referenced in the request to preserve a specific person's likeness. Clear profile photos with varied angles and expressions also matter.
Can Phota keep someone recognizable across different scenes?
That is Phota's main purpose. A trained profile carries the person's appearance across changes in setting, clothing, and photographic style.
How should I write a Phota prompt?
Describe the subject, framing, pose, expression, setting, and lighting. State which details must stay the same, especially when changing an existing composition.
Can Phota produce 4K images?
Yes. For these Phota models, choose Nano Banana 2 when requesting 4K output.
Start using Phota Text to Image in Gemini
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Gemini:
set up https://spiral.ai/SKILL.md


