NewMiniMax H3 Lite is live: our cheapest video model, at a launch price until Dec 31. Try it free

OG filename: how-to-generate-gifs-in-cursor-cover-v3.png
All guides
How-to

How to Generate GIFs in Cursor

Generate GIFs in Cursor for loading screens, READMEs and empty states, then let the agent save them to your project. A flat 16 credits per GIF.

·3 min read·

How to Generate GIFs in Cursor

GIFs are handy in a project: a loading screen, an empty state or a README. With AiWings added to Cursor, the agent can generate one, save it and use it in your code, all in one request you review as a normal diff.

What you need

  • Cursor with Agent mode.
  • An AiWings account (sign in with Google). Usage comes from your AiWings credits.
  • About a minute.

Step 1: Add AiWings to Cursor

The fastest way is the one-click Add to Cursor button on the AiWings Cursor page. To set it up by hand, follow these steps.

  1. 1Add the config below to ~/.cursor/mcp.json (every project) or .cursor/mcp.json (this project only).
  2. 2Open Cursor Settings → MCP and click Connect next to AiWings.
  3. 3Sign in to AiWings in the browser window and allow access.
  4. 4Check that AiWings shows a green dot and its tools are listed.
{
  "mcpServers": {
    "aiwings": { "url": "https://aiwings.io/api/mcp" }
  }
}

Add to Cursor in one click

Step 2: Ask the agent for a GIF

In Agent mode, ask for a GIF and say “use AiWings”, so the agent calls the tool. It shows the result in the chat before it touches any files.

Use AiWings to make a GIF: a bold violet app icon with a white four-point spark in the center, on a white background. The spark pulses and turns gently, then returns to its starting position. Smooth loop.

Here’s the kind of result you get:

An animated GIF of a violet app icon with a white four-point spark that pulses and turns
From the prompt aboveGIF · 333 KB
An animated GIF of a coffee cup on a saucer, with steam rising in soft curls
A flat illustrationGIF · 466 KB

Step 3: Save it into your project

This is where Cursor shines. Ask the agent to download the image into your assets folder and wire it into the code in the same request. You review the diff like any other change.

Save that GIF to public/loader.gif and show it on the loading screen at 96 pixels.

You can reuse an image from your project too: ask the agent to animate your logo, and it uploads the file for you.

GIFs at a glance

GIFs work the same way everywhere you add AiWings:

WhatDetails
PriceA flat 16 credits ($0.16) per GIF
ModelsGPT Image 2.6 Flare (the default) or Sunburst
Length9 frames that loop in 1.8 seconds
Size512 pixels on the short side
TimeAbout 15 to 30 seconds in our tests
Animate an imageYes, one image per GIF

The price is at the top-up rate of $0.01 per credit, and plans include more credits per dollar. Your default image model doesn’t change.

See GIF samples and prompts

Tips for app assets

  • Pick one simple motion, then end with “returns to its starting position. Smooth loop.”
  • Keep the art flat for a small file. Loading screens shouldn’t wait on a 2 MB GIF.
  • GIFs are 512 pixels on the short side, so show them smaller for a sharper look.
  • For a simple spinner, plain CSS is lighter. Use a GIF when you want something illustrated.

If something doesn’t work

  • The agent says it can’t make them: check that AiWings is enabled in Cursor Settings → MCP and that you’re in Agent mode.
  • AiWings shows a red dot: click Connect again and finish the sign-in in your browser.
  • No tools listed: check that the URL in mcp.json is exactly https://aiwings.io/api/mcp, then restart Cursor.
  • Out of credits: top up from your AiWings dashboard, then ask the agent to try again.

Bottom line

Cursor can write CSS animations, but it can’t draw an illustrated loop. With AiWings added, it can make one, save it to your project and use it in your code in one request. The same server also gives Cursor images, SVGs and videos.

Generate GIFs in Cursor

FAQ

Can Cursor make GIFs on its own?

Cursor can write code that builds a GIF from simple shapes, but it doesn’t generate an illustrated animation by itself. With AiWings added, you describe the loop and get the file back.

Can I animate my own image?

Yes, one image per GIF. You can also animate an earlier AiWings image without uploading it again.

Can I change the length or speed?

Not yet. Every GIF is 9 frames at 5 frames per second. For longer clips or sound, use a video model like Seedance.

Do the free credits cover a GIF?

No. New accounts start with enough for a few regular images, and a GIF costs 16 credits, so you’d need a plan or a top-up first.

Should I add it for one project or all of them?

Use ~/.cursor/mcp.json to add it to every project, or .cursor/mcp.json inside a repo to add it to that project only, for example to share the setup with your team.