How to connect Luma Labs to Grok Bot in 2 mins: No API key needed

You can test a video idea first, then render it when you say go, keep one style for every image you ask for and get a daily image for a themed series from Grok Bot. Composio runs each call on its own Luma Labs account, so you don't need a Luma Labs API key, and your first $2 is free.

Luma LabsInstant · No API key

Grok Bot runs Luma Labs through Composio, and the cost comes out of your free $2.

  • A 2K image$0.040
  • A 5-second video at 360p$0.060
  • A 5-second video at 720p$0.30

$2 ≈ 50 images or 30 videos

Composio Instant

What you can do with your free $2

What your free $2 gets you with Luma Labs
When you ask Grok Bot forGrok Bot uses this toolCostWhat $2 gets you
A 2K imageGenerate Image$0.040 per imageAbout 50 images
A 5-second video at 360pGenerate Video$0.060 per videoAbout 30 videos
A 5-second video at 720pGenerate Video$0.30 per videoAbout 6 videos
A higher-quality 2K imageGenerate Image$0.10 per imageAbout 20 images
A 5-second video at 1080pGenerate Video$1.20 per video1 video

You pay Luma Labs' price for each call with 0% markup, plus the regular Composio tool call charge. There's no Luma Labs subscription, and you only pay for what you use.

3 of 11 Luma Labs tools work without a key. For Delete File, Edit Image, Edit Video, Extract Image Layers, Get File, List Files and 2 more, connect your own Luma Labs key. Read how Instant works.

How it works

How to connect Luma Labs to Grok Bot

Composio adds Luma Labs to Grok Bot as an Instant toolkit. You connect Composio to Grok Bot once, and then Grok Bot can use Luma Labs right away. There are two ways to do this:

  • Bring your own key

    You bring your own Luma Labs API key, set it up, and use it.

  • Use the Composio wallet

    Instant

    Composio runs each call on its own Luma Labs account, so you don't have to set anything up at Luma Labs, and your first $2 is free.

You do the setup one time and it takes about a minute. If you build Luma Labs into your own product, turn on Instant toolkits in your project settings so your agent can call Luma Labs for each of your users without a Luma Labs API key, and read Instant tools in the Composio docs for the setup steps and code examples.

Get started

Start to use Luma Labs in Grok Bot in 3 steps

  1. Turn on Instant

    Open your Composio wallet and turn on Instant. Your free $2 shows up there.

  2. Add Composio to Grok Bot

    Follow the setup below. You only do this once.

  3. Ask Grok Bot for something

    Try a Luma Labs prompt. The cost comes out of your $2.

Setup

Connecting Luma Labs to Grok Bot

Once Grok Bot is set up, you connect Luma Labs entirely from its interface, and the whole flow takes under a minute.

Set up Grok Bot

Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from x.ai/bot and sign in. An iPhone companion app is also available, and your bots sync across devices.

Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.

Connect Luma Labs

1. Add the Composio plugin

Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.

Add to Grok Bot

Composio for Grok Bot listing on x.ai with the Add to Grok Bot button

Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.

Composio plugin sheet in Grok Bot with the Add button

2. Authenticate

Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.

Installed Composio plugin showing the Authenticate button

Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.

Composio authorization screen with Authorize and Deny

3. Connect your Luma Labs account

Back in the chat, ask your bot to connect to Luma Labs or give it any Luma Labs task.

For example, ask it to:

  • "Create cinematic product video from prompt"
  • "Generate concept art for mobile game"
  • "List recent Luma video generations"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in your Grok bot, and your Luma Labs account is ready to use.

Try it

Ask Grok Bot for something with Luma Labs

Start a new chat and try this prompt:

From now on, when I message you a video idea, make a 5-second 360p test with no HDR and send me the link. If I reply "go", make the same prompt again at 720p, still 5 seconds with no HDR. If I reply with changes, make a new 360p test first.

Grok Bot runs it on Instant and shows you the result. It doesn't ask you for a Luma Labs key, and the cost comes out of your $2. You can see each call in your wallet.

Optional: connect your own Luma Labs key

If you want Delete File, Edit Image, Edit Video, Extract Image Layers, Get File, List Files and 2 more, you need your own key. Ask Grok Bot to connect your Luma Labs account, and it gives you a Composio link:

Connect my Luma Labs account using Composio.

Open the link, paste your Luma Labs API key and click Connect Account. You can get a key from Luma API Platform. After that, Composio uses your key first and doesn't charge Instant for those calls.

Starter prompts

Use your first $2: copy a prompt into Grok Bot

Each prompt runs on Instant, and the cost next to it is about what it takes from your $2.

  • Test a video idea first, then render it when you say go

    About $0.06 per run

    Sends you a cheap 360p test of any video idea and only makes the 720p version after you approve it.

    From now on, when I message you a video idea, make a 5-second 360p test with no HDR and send me the link. If I reply "go", make the same prompt again at 720p, still 5 seconds with no HDR. If I reply with changes, make a new 360p test first.

  • Keep one style for every image you ask for

    About $0.04 per run

    Remembers your style reference, so every image you request later comes out in the same look.

    Remember this image as my style reference: [public URL of your reference image]. From now on, whenever I message you a line that starts with "image:", make it with the uni-1 model in that style and send me the link. Use a square image unless I give you a different shape.

  • Get a daily image for a themed series

    About $0.04 per run

    Makes one new image for your daily series every morning and keeps track of the subjects it has already used.

    Every morning at 7, make one square image with the uni-1 model for my daily series on [theme]. Pick a subject you haven't used before, keep a list of past subjects, and send me the link with a one-line caption idea.

What it can do

What Grok Bot can do with Luma Labs

Works without a key

  • A 2K image
  • A 5-second video at 360p
  • A 5-second video at 720p
  • A higher-quality 2K image
  • A 5-second video at 1080p

Needs your own Luma Labs key

  • Delete File
  • Edit Image
  • Edit Video
  • Extract Image Layers
  • Get File
  • List Files
  • Reframe Video
  • Upload File
Tools and prices

Supported tools (11)

Luma Labs tools and their Instant prices
ToolWhat it doesWorks without a keyCost on Instant
Generate ImageSubmit a paid, asynchronous Luma image generation job.Yes$0.04 per image (uni-1) or $0.1 (uni-1-max)
Generate VideoSubmit a paid, asynchronous Ray 3.2 video generation job.YesFrom $0.06 per 5-second 360p video
Get GenerationGet the current state, failure details, and output URLs for a Luma generation.Yes$0 per request
Delete FileSoft-delete a Luma file so new generations cannot reference it.Needs your own keyBilled to your own Luma Labs key
Edit ImageSubmit a paid, asynchronous Luma image-edit job.Needs your own keyBilled to your own Luma Labs key
Edit VideoSubmit a paid, asynchronous Ray 3.2 video-edit job.Needs your own keyBilled to your own Luma Labs key
Extract Image LayersSubmit a paid, asynchronous Luma image layer-extraction job.Needs your own keyBilled to your own Luma Labs key
Get FileGet a Luma file's metadata and current ingest, moderation, or deletion state.Needs your own keyBilled to your own Luma Labs key
List FilesList files in the connected Luma account, newest first, with optional state and purpose filters.Needs your own keyBilled to your own Luma Labs key
Reframe VideoSubmit a paid, asynchronous Ray 3.2 video-reframe job.Needs your own keyBilled to your own Luma Labs key
Upload FileDirectly upload file bytes to Luma and return the file ID, metadata, and current upload/ingest state.Needs your own keyBilled to your own Luma Labs key
Pricing

How you pay for Luma Labs

  • Your first $2 is freeIt's added to your Composio wallet when you turn on Instant.
  • You pay for each callYou pay Luma Labs' price with 0% markup, plus the regular Composio tool call charge.
  • Your own key comes firstIf you connect your own Luma Labs key, Composio uses it and doesn't charge Instant for those calls.
  • You control the costYou can ask your agent to check with you before each paid call, and you can turn Instant off at any time.
  • You can see each callYour wallet shows each call and what it cost.
  • When your balance runs outYou can add funds to your wallet on a Pro plan or connect your own key.
Help

Troubleshooting

  1. 1. Grok Bot asks me for a Luma Labs API key

    You may have asked for something that needs your own key, like Delete File, Edit Image, Edit Video, Extract Image Layers, Get File, List Files and 2 more. Those tools don't run on Instant. For everything else, check that Instant is turned on in your Composio wallet, then ask again.

  2. 2. I can't see my free $2

    Open your wallet in the Composio dashboard and check that Instant is turned on. If the $2 still isn't there, email support@composio.dev from the address you signed up with.

  3. 3. A Luma Labs call failed with a balance error

    Your balance is empty. Add funds to your wallet on a Pro plan, or connect your own Luma Labs key, then try again.

FAQ

Frequently asked questions

Start with Luma Labs.It takes 30 seconds.

New accounts get a one-time $2 starter credit for Instant calls.Run Luma Labs from your agent with no Luma Labs key.

Get $2 starter credit