Spiral gives your agent every tool with one account. Browse the tools →

Windsurf · Image

How to Use City Teleport in Windsurf

City Teleport places a person from a photo into a city setting for travel portraits and destination concepts. Use a city name for the setting or supply a background image for a specific scene.

Prompts to try with City Teleport in Windsurf

Copy an example into Windsurf, or ask in your own words.

Use City Teleport with the portrait in assets/portrait.png to create a Paris concept with medium framing at eye level.

City TeleportWindsurf
Try asking
  • Use City Teleport to combine assets/portrait.png with assets/city-street.jpg for a destination page concept.

  • Use City Teleport with assets/portrait.png in Tokyo. Compare medium and long shots while keeping the camera at eye level.

  • Use City Teleport with assets/portrait.png in Rome. Create an eye-level view and a low-angle view for review.

  • Use City Teleport with assets/speaker.png in Chicago to draft the city portrait for our event page.

How to set up City Teleport in Windsurf

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Open the Customize page from the Agents window and click MCPs. Under This computer, open the config file, or edit it directly: ~/.config/devin/mcp_config.json on macOS and Linux, %APPDATA%\devin\mcp_config.json on Windows. Add this:

    {
      "mcpServers": {
        "spiral": {
          "url": "https://api.spiral.ai/mcp"
        }
      }
    }
  2. Sign in

    Click Authenticate on the Spiral server in Customize › MCPs, or let the agent call Spiral once: your browser opens. Sign in to Spiral, pick the organization and click Authorize. No API key.

    devin mcp login spiral
  3. Check it

    Spiral is listed under This computer in Customize › MCPs. From the terminal:

    devin mcp list

Use the Spiral skill

  1. Send Windsurf this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. 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

  1. Create an API key

    In the console, under API keys.

  2. Run City Teleport

    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/image-apps-v2/city-teleport",
        "input": {
          "person_image_url": "https://v3.fal.media/files/kangaroo/qsFWu-bO3FwcTQSym9HeL_e52f70668f2940a3b4ea2cab54fcb65b.png",
          "city_name": "Paris"
        }
      }'

Then paste one of the prompts above: Windsurf finds City Teleport on Spiral, shows the price and runs it.

City Teleport providers and prices

Spiral runs City Teleport through fal. Open a card for today's price, with every fee included.

falImage
City Teleport
fal-ai/image-apps-v2/city-teleport

Settings you can ask for

Ask Windsurf for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Photo shotextreme_close_up, close_up, medium_close_up, medium_shot, medium_long_shot, long_shot, extreme_long_shot, or full_bodymedium_shot

Type of photo shot

Camera angleeye_level, low_angle, high_angle, dutch_angle, birds_eye_view, worms_eye_view, overhead, or side_angleeye_level

Camera angle for the shot

Every API field of City Teleport is on its tool page: open its card above.

What can you do with City Teleport in Windsurf?

Create city portrait concepts for a project's travel pages or campaign mockups. A coding agent can use project images and organize the results for comparison.

Destination portrait concepts

Place a portrait in a proposed destination to develop the visual direction for a travel story.

Travel campaign mockups

Use a spokesperson's photo to draft city campaign images for review before a location shoot.

Trip wish lists

Turn a personal portrait and a destination list into pictures for a travel wish list.

Specific location concepts

Combine a person's photo with a supplied city background to explore a particular setting.

City event artwork drafts

Place a speaker's portrait in the host city for an event artwork concept.

Portrait composition studies

Keep the person and city fixed while comparing framing and camera viewpoints for a portrait series.

Questions about City Teleport in Windsurf

Can Windsurf use City Teleport?

Yes. Add Spiral to Windsurf as an MCP server, and Windsurf can find and run City Teleport like any built-in tool.

How much does City Teleport cost in Windsurf?

$0.052 per image. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Windsurf plan is separate.

Do I need a fal account to use City Teleport in Windsurf?

No. Spiral runs City Teleport on its own fal account. You sign in to Spiral once and never paste a key.

How long does it take to set up City Teleport in Windsurf?

About two minutes: add the server, then sign in, then check it.

Does Windsurf wait while City Teleport runs?

City Teleport runs in the background. Windsurf starts the run, checks on it and gives you the image when it's ready.

What is City Teleport useful for?

City Teleport places a photographed person into a city setting. Try it for destination portraits, travel campaign concepts, or illustrated trip wish lists.

Does the city name matter when I supply a background?

The documentation says the city name is used when no city background image is supplied. For a specific scene, provide the background you want to use.

What resolution does City Teleport produce?

The documentation describes 4K output. Check the returned image dimensions before preparing a final layout.

How should I approach composition?

Choose the framing and camera angle deliberately. To compare results, keep the portrait and destination fixed while changing one composition choice at a time.

Get started

Start using City Teleport in Windsurf

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Windsurf:

Set up Windsurf

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options