正在加载视频...

视频加载失败

Introducing the Gemini API CLI, now live in preview! 🚀 The easiest way for your agents to generate images, videos, music, text-to-speech or use managed agents. A fast and efficient way to get access to all the goodness of the Gemini API. 🧵👇

22,684 次观看 • 5 天前 •via X (Twitter)

33 条评论

Vini Lana 的头像
Vini Lana5 天前

calling it Gemini API CLI while Gemini CLI was deprecated is confusing

Jack Wotherspoon 的头像
Jack Wotherspoon5 天前

I mean it is a CLI for using the Gemini API. So a bit of confusion is going to happen, hard to avoid. Open to suggestions though 😀

Vini Lana 的头像
Vini Lana5 天前

Yeah it makes sense. I think the confusion is more about how the other products were named for example, Gemini is the name of the Chat product but also the name of LLMs... and previously it was the name of the terminal coding harness (Gemini CLI). I like the move Google made to call the harness as Antigravity so we can distinguish it.

Jack Wotherspoon 的头像
Jack Wotherspoon5 天前

We are not the best at naming, that is no secret 😅 Totally agree, Antigravity is a great name. In this case the CLI is just a wrapper around the Gemini API and not a new product, so made sense to make the name the way it is.

anas khan 的头像
anas khan5 天前

@oviniciuslana How will it be different from Gemini API in Antigravity?

Jack Wotherspoon 的头像
Jack Wotherspoon5 天前

It will be added to that plugin shortly! Two different use-cases, will do a write-up explaining in more detail but our plugin will also cover this. Building an app that uses Gemini --> use our SDK Want to generate sound effects for a game, or a video for your website --> Gemini API CLI The CLI is a tool Antigravity (and any agent) can use to quickly generate media, audio etc. Our SDK is still building software that uses Gemini.

Jack Wotherspoon 的头像
Jack Wotherspoon5 天前

Some examples of when to use the Gemini API CLI: 🎮 - "Add a soundtrack for the boss fight in my game" 📊 - "Create a cover image for this week's newsletter" 📹 - "Make a 10s hero video for the landing page"

Jack Wotherspoon 的头像
Jack Wotherspoon5 天前

Launch blog: GitHub:

rick 的头像
rick5 天前

very slow,HTTP status: 503,"The server failed to process the request — retry after a short delay"

Jack Wotherspoon 的头像
Jack Wotherspoon5 天前

What command were you running? Will take a look!

C J 的头像
C J5 天前

Real question: does the CLI get the full long-context treatment, or is this the lightweight build?

Jack Wotherspoon 的头像
Jack Wotherspoon5 天前

Mind explaining more? This CLI is not a coding harness, it is a tool to be used by any coding agent to call the Gemini API. Whether that be to generate media, video, or audio, it is up to you.

shlomokabareti 的头像
shlomokabareti5 天前

@JackWoth98 Who do I have talk to begin speaking with someone from the team. I really wanna understand the decisions that are being made here when it comes to dev ex / product as a whole.

Jack Wotherspoon 的头像
Jack Wotherspoon5 天前

Feel free to send me a DM, happy to try and answer any questions you have.

shlomokabareti 的头像
shlomokabareti5 天前

I gotchu my friend!

Neal Frazier 的头像
Neal Frazier5 天前

Wtf I'm trying it now after this late night coffee. And def bridging to my pixel watch IMMEDIATELY

Joash 的头像
Joash5 天前

You guys got real creative with naming this one Any agent skills to go with it?

Millsy.dev 的头像
Millsy.dev5 天前

Couldnt care less

PPLILY 的头像
PPLILY5 天前

Looks great! Any plans to let us use our Gemini Advanced/subscription quota with the CLI instead of just API keys?

Public Analytica 的头像
Public Analytica5 天前

I thought it was Antigravity now?

Vamsi Batchu 的头像
Vamsi Batchu5 天前

What a banger video !! 🔥

Kala 的头像
Kala5 天前

give the failing test suite boss music

Muhammad Afzal 的头像
Muhammad Afzal5 天前

Can you guys include the option of subscription along api

TwittitKnow 的头像
TwittitKnow5 天前

How

autodidaQt 的头像
autodidaQt5 天前

Doesn't agy do all this already?

Patrick C Toulme 的头像
Patrick C Toulme5 天前

This is super useful

玉成 的头像
玉成5 天前

这个和 Antigrative CLI 的区别是什么?我感觉你们的 harness 种类似乎比较混乱😂

x iS tERRIbLE 的头像
x iS tERRIbLE5 天前

maybe pump some extra effort into AGY CLI now.

Maya 的头像
Maya5 天前

The file-path output is a nice detail: generate an asset, then hand that exact file to the next shell step. No need to extract a filename from a chatty success message.

LastResort 的头像
LastResort5 天前

Cheaper flash lite

Debjit B. 的头像
Debjit B.5 天前

Dude ask your gemini to make this naming correct it is confusing

hamjji 的头像
hamjji5 天前

Looked at the tts flags, saw --voice and --multi-speaker but nothing for language. Does it just follow whatever language the text is in?

Gamris ∞ 的头像
Gamris ∞5 天前

So does this mean we can use the agy CLI to leverage a Google AI Pro/Ultra Subscription for Gemini LLM access (reasoning/coding), then use the Gemini API CLI for pay-as-you-go access to the other modality generators (Music, Image Gen/Edit, Video Gen/Edit, TTS, STT)?

相关视频