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

Gemini · News & Media

How to Use NASA media files in Gemini

Returns the file manifest for a specific NASA image, video, or audio asset, including available download renditions. Use it when you have selected an item and need its files rather than search matches.

Prompts to try with NASA media files in Gemini

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

Use NASA media files for as11-40-5874. List the returned download links and identify the original rendition if it is labeled.

NASA media filesGemini
Try asking
  • Use NASA media files for as11-40-5874. Organize the available file renditions into a short download list for my Apollo 11 exhibit planning.

  • Use NASA media files to look this up and give me the result as a table.

  • Pull the latest numbers from NASA media files and tell me what changed since last week.

  • Check NASA media files and summarize what you find in three bullet points.

How to set up NASA media files in Gemini

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

Use the Gemini connector

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

  2. 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
  3. 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

  1. Send Gemini 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 NASA media files

    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": "alexandria",
        "model": "images-nasa-gov/media/get_asset",
        "input": {
          "url": "<url>"
        }
      }'

Then paste one of the prompts above: Gemini finds NASA media files on Spiral, shows the price and runs it.

NASA media files providers and prices

Spiral runs NASA media files through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
NASA Image and Video Library · Get asset
images-nasa-gov/media/get_asset

What can you do with NASA media files in Gemini?

Prepare a NASA media shortlist for a lesson, article, or exhibit using source descriptions and available downloads. Compare search matches or inspect the files for a selected NASA item.

Illustrate a space history lesson

Find Apollo 11 material, select records using their descriptions, and retrieve available files for a classroom presentation.

Prepare documentary research

Shortlist mission images, video, and audio, then collect download links for an editor to review alongside the source descriptions.

Build a mission anniversary exhibit

Research Space Shuttle or Apollo material and retrieve image renditions for exhibit planning, with source credits kept beside each selection.

Source illustrations for science reporting

Find media related to a mission covered in an article, review its description, and obtain the available files for editorial selection.

Create a browsable NASA media collection

Use search records to organize a subject collection and asset manifests to offer available downloads for selected items.

Refresh a museum's media shortlist

Repeat searches for Artemis or Mars exploration, identify previously unseen records, and retrieve their file manifests for curatorial review.

Questions about NASA media files in Gemini

Can Gemini use NASA media files?

Yes. Add Spiral to Gemini as an MCP server, and Gemini can find and run NASA media files like any built-in tool.

How much does NASA media files cost in Gemini?

$0.00873 per call. 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 an Alexandria account to use NASA media files in Gemini?

No. Spiral runs NASA media files on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up NASA media files 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 NASA media files runs?

NASA media files runs in the background. Gemini starts the run, checks on it and gives you the json when it's ready.

Does the library contain every NASA image, video, and recording?

No. NASA explicitly describes it as a selection of publicly available material rather than a comprehensive archive, so an absent item does not establish that NASA has no such media.

Are additions always newly created media?

No. NASA continually adds both new and archival material, so a newly added item can document a much older event.

Are downloads limited to preview images?

No. The library offers multiple download resolutions, and NASA's documented asset manifest includes an original image alongside smaller renditions.

Can schools and publishers reuse NASA media?

NASA generally permits educational and informational use under its media guidelines. Its content generally is not subject to copyright in the United States, but that statement is not a blanket clearance for every item.

Is everything in the library NASA-owned material?

No. NASA sometimes publishes third-party copyrighted material and identifies the copyright holder. Reusing those items requires permission from that holder.

Get started

Start using NASA media files in Gemini

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

Paste this into Gemini:

Set up Gemini

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