• EXPANSION
  • VARIATION
  • ITERATION
  • HUMAN

How to extend and modify images with your agent

Connect your agent to Leonardo.ai to change existing pictures or grow their borders. You'll move from a single file to a set of new, expanded, or styled compositions.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I extend or change an image using my AI?

You upload a source image and tell your agent how to change it or where to add more space. Your agent then generates new versions that either expand the frame or apply new styles to the original content.

The results

What you'll get

Your agent handles the pixel work based on your specific instructions.

EXPANSION

Wider compositions

Your agent adds new scenery around your original photo. This lets you turn tight shots into wide landscapes.

VARIATION

New art styles

You can take a photo and ask your agent to redraw it in a different aesthetic. It keeps the core structure while changing the look.

ITERATION

Multiple options

Your agent produces several different versions of your request. You can pick the best one or try a different prompt.

HUMAN

Creative control

Your agent does the rendering, but you provide the vision. You'll need to refine your prompts to get the exact result you want.

The workflow

What your agent does when the image arrives.

Your agent processes your file and applies your instructions to create new visuals.

  1. Upload source

    Your agent takes your initial file and prepares it for the generation process.

    upload_init_image
  2. Analyze frame

    Your agent looks at the existing image to understand the context and boundaries.

    upload_init_image
  3. Generate changes

    Your agent creates new versions of the image based on your specific text instructions.

    create_variation
  4. Deliver output

    Your agent provides the final modified or expanded images for you to use.

    create_variation

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Leonardo.ai tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin working with your agent.

Starting points

These are opening lines. Replace the bracketed descriptions with your own details.

Leonardo.ai Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_y9qRzWWnGSVBvmQMYzSP2JGQCYBThJESo5HQfoqx/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Leonardo.ai capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "leonardoai-generative-ai-models-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_y9qRzWWnGSVBvmQMYzSP2JGQCYBThJESo5HQfoqx/mcp"
    }
  }
}
Copy into chat04
  • 01

    Take this image and unzoom it to show more of the mountain range.

  • 02

    Use this photo as a base to create a variation in a watercolor style.

  • 03

    Expand the boundaries of this portrait to make it a wide landscape shot.

  • 04

    Modify this image to change the lighting from midday sun to a sunset glow.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Leonardo.ai once, then ask.

Link your account once and your agent is ready. Your login stays encrypted on our side.

Connect Leonardo.ai to your agent

FAQ

How this task behaves

  • 01

    Can your agent edit specific small objects in my photo?

    No. The tools are for creating variations of the whole image or expanding the borders.

  • 02

    Will your agent change my original uploaded file?

    No. Your agent generates new images based on your upload. Your original file stays exactly as it is.

  • 03

    Can I use this to remove people from a background?

    No. The current tools focus on expanding the frame or changing the style, not on object removal.

  • 04

    Does your agent keep faces identical in each variation?

    No. While your agent uses the original for guidance, facial features can change during the variation process.

  • 05

    Can your agent create a video from my image?

    No. The available tools are strictly for image-to-image transformations and unzooming.

  • More questions about Leonardo.ai? See everything the Leonardo.ai Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Leonardo.ai to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Leonardo.ai plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Leonardo.ai to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.