Posts

Showing posts with the label devtools

How to Use NanoBanana MCP in OpenCode for Multi-Image Editing

Image
Multi-image editing becomes much more useful when it can stay inside the same terminal workflow where you are already writing docs, adjusting product copy, or preparing release assets. What you can do The NanoBanana MCP server is designed for image generation and image editing workflows inside OpenCode. The documented strengths are practical rather than abstract: product background replacement, virtual try-on, subject-consistent edits for people or objects, and editing one image with another image as a reference. In an OpenCode session, that means you can ask for tasks such as: placing a product image into a scene while keeping lighting consistent; changing a model image to wear a referenced garment while preserving face and pose; generating a small illustration for a 404 page or documentation page; using several source images as references without leaving the terminal. How it works OpenCode reads MCP servers from an opencode.json file. Ace Data Cloud exposes Nan...

How to Add NanoBanana Image Editing to Claude Code with MCP

Image
When you are already working in a terminal, switching to a browser just to generate or edit a product image breaks flow. A practical alternative is to connect an image MCP server to Claude Code, then ask for image work in the same place where you read code, edit files, and run commands. This guide walks through the NanoBanana MCP setup for Claude Code using the public Ace Data Cloud documentation. The goal is not to replace your design process; it is to give your coding agent a callable image tool for common builder tasks: README visuals, landing page illustrations, product mockups, and multi-image composition. What you can do NanoBanana is useful when the task needs image understanding, not only fresh image generation. The documentation describes it as a tool that can understand relationships across images—for example, placing an item from one image into the scene of another and adjusting angle and lighting so the result looks natural. In Claude Code, the NanoBanana MCP server ex...

How to Use NanoBanana MCP in Claude Code for Image Editing Workflows

Image
When you are already working inside a terminal agent, the slow part of an image workflow is often not the model call itself. It is switching tools, copying URLs, explaining context again, and then bringing the result back into your project. NanoBanana MCP gives Claude Code a direct image generation and editing toolchain from the same terminal session, so you can ask for a visual asset, compose several source images, or clean up an image without leaving the coding flow. What you can do The NanoBanana MCP documentation describes a focused setup for Claude Code: connect the remote MCP server once, then call two tools from natural language: nanobanana_generate_image for text-to-image generation. nanobanana_edit_image for image editing, including workflows that pass multiple image URLs. That makes it useful for small but common builder tasks: creating a 404-page illustration, placing an object from one image into the scene of another image, or removing unwanted text from a sc...

How to Generate Veo Videos from Claude Desktop, VS Code, or Cursor with MCP

Image
Video generation becomes much easier to prototype when it sits inside the tools where builders already write prompts, inspect assets, and iterate on ideas. The Veo MCP Server from Ace Data Cloud lets an MCP-capable client such as Claude Desktop, VS Code, or Cursor call Veo video tools through a standard interface, so you can move from a written brief to a generated video task without leaving your working environment. What you can do The documented Veo MCP setup exposes a small, practical tool surface for video workflows: veo_text_to_video for generating video from text prompts. veo_image_to_video for generating video based on images. veo_get_1080p for upgrading an already generated video to 1080p. veo_get_task for checking a single task status. veo_get_tasks_batch for checking multiple task statuses. The same document also describes support for multiple Veo models, including veo3 , veo2 , and veo31-fast-ingredients , plus output options such as 4K, 1080p, GIF...

A Practical Guide to Pay-Per-Call AI APIs with the Ace Data Cloud SDK and X402

Image
If you are building a CLI, backend worker, or agent that calls AI APIs on behalf of different users, API keys are often the awkward part: who owns the balance, who rotates the token, and how do you charge only for one call? The paymentHandler hook in the Ace Data Cloud SDK gives you another path: let the first request receive 402 Payment Required , sign an X402 payment envelope locally, then retry the same API call with a PAYMENT-SIGNATURE header. What you can do The documented flow is useful when you want business code to stay close to a normal SDK call while payment happens per request. In practice, you can: Call client.openai.chat.completions.create(...) without passing an apiToken . Inject a TypeScript or Python paymentHandler that signs the payment challenge after a 402 . Use EVM networks such as base or skale , or use solana where the Solana signer path is supported. Choose preferScheme: 'upto' / prefer_scheme="upto" for metered chat-st...

How to Add Image Understanding to Claude Code with NanoBanana MCP

Image
Sometimes the slowest part of a developer workflow is not writing code. It is leaving the terminal to make a README illustration, clean up a screenshot, compose two product images, or generate a small visual for a 404 page. The NanoBanana MCP server gives Claude Code a practical way to do those image tasks from the same command-line session where you are already working. What you can do NanoBanana is useful when the image task depends on understanding what is inside one or more images, not just generating a pretty picture from text. According to the Ace Data Cloud documentation, NanoBanana can work with Google Gemini-style image understanding and supports both image generation and image editing through Claude Code. In practice, that means you can ask Claude Code to: generate an illustration from a text prompt with nanobanana_generate_image ; edit an existing image with nanobanana_edit_image ; pass multiple image URLs to nanobanana_edit_image and describe how the image...

A Practical Guide to Building Version-Safe Music Workflows with the Suno Studio Projects API

Image
If you have ever tried to turn generated music into an editable product feature, you know the hard part is not only creating audio. The hard part is keeping project state, track edits, replacements, and final exports coordinated without overwriting someone else's work. The Suno Studio Projects API solves that problem with a single project-oriented endpoint. Instead of treating every music generation as a one-off file, you work with a project, retrieve its editable state, save complete versions, add or generate tracks, commit selected candidates, and render the final song when the mix is ready. What you can do The project API is centered on one endpoint: POST /suno/projects Authorization: Bearer YOUR_API_KEY Content-Type: application/json The operation is selected with an action field. The documented actions cover the full lifecycle of a multi-track project: create : create an empty project. retrieve : read the project and its complete editable state . save : save ...

Getting Started with Short Links in Gemini CLI Using ShortURL MCP

Image
Long URLs are awkward in chat, email, release notes, and terminal output. If your day already runs through Gemini CLI, the most practical fix is not another browser tab—it is a small MCP tool that can shorten links directly inside the conversation. This guide walks through connecting the ShortURL MCP server to Gemini CLI, what the configuration means, and how to use it in a repeatable builder workflow. The goal is simple: let the assistant shorten one link or a batch of links while you stay in the terminal. What you can do The ShortURL MCP integration documented by Ace Data Cloud exposes one focused capability: generating short links from long URLs. The documented tool is shorturl_create , described as a tool that shortens long links. That narrow scope is useful. Instead of asking a general-purpose agent to invent a link workflow, you give Gemini CLI a concrete MCP server with a concrete tool. In practice, that means you can ask for tasks such as: Shorten a single produc...

How to Use NanoBanana MCP in Claude Code for Image Editing Workflows

Image
When a development workflow needs visual assets, the slowest part is often not the image model itself—it is leaving the terminal, uploading references, copying outputs back, and trying to keep the result aligned with the project you are already editing. NanoBanana MCP gives Claude Code a terminal-native way to generate images, edit existing images, and compose multiple image inputs through a remote MCP server. The useful part is not that it adds another image tool; it lets a coding agent call that tool while it still has your project context. What you can do The NanoBanana MCP document describes two exposed tools: nanobanana_generate_image for text-to-image generation. nanobanana_edit_image for image editing, including multiple image inputs. That makes it practical for everyday builder tasks: create a page illustration for a 404 screen, remove unwanted text from a screenshot, or combine an object from one image with the environment of another. The document specifically ...

How to Add X402 Pay-Per-Call Payments to the Ace Data Cloud SDK

Image
If you are building a CLI, agent, or developer tool, prepaid API tokens are not always the cleanest fit: sometimes you want the caller to pay for exactly the request they make, without your backend holding their platform token. What you can do The SDK + X402 Payment Hook flow lets an Ace Data Cloud SDK client make a normal SDK call, receive a 402 Payment Required challenge, sign a payment envelope locally, and retry the same request with a PAYMENT-SIGNATURE header. The business code still calls client.openai.chat.completions.create(...) ; the payment path sits underneath the SDK through a paymentHandler . This is useful when you want to build: agent tools that can pay per call from a wallet, CLI utilities where the operator owns the payment key, browser flows where a connected wallet signs the request, backend jobs that should avoid storing an Ace Data Cloud API token. The documented SDK path supports TypeScript through @acedatacloud/sdk and @acedatacloud/x402-c...

Getting Started with Seedream MCP in Claude Code

Image
If your coding workflow already lives in the terminal, switching to a separate image tool just to create a README graphic, product poster, or localized launch visual can feel like unnecessary context switching. Seedream MCP gives Claude Code a direct way to generate and edit images from the same terminal session, with a useful edge case: it is especially strong at rendering Chinese text clearly inside images. What you can do The Seedream MCP documentation describes a small, focused workflow for connecting Claude Code to Ace Data Cloud's remote Seedream MCP server. Once configured, Claude Code can call two tools: seedream_generate_image for generating images from text prompts. seedream_edit_image for editing existing images, including changing text or replacing elements. This is most useful when the image task is part of a broader developer workflow: writing documentation, preparing a product screenshot, creating a Chinese-language poster, or updating a visual ass...

How to Generate and Edit Images with the Nano Banana Images API

Image
When you build image features, the hard part is not only asking a model for a picture. It is turning prompts, reference images, callbacks, task IDs, and failures into a workflow your app can trust. This guide shows how to use the Nano Banana Images API from Ace Data Cloud for two practical jobs: generating an image from text and editing existing images with one or more visual references. What you can do The API has one endpoint: POST https://api.acedata.cloud/nano-banana/images The request body uses action . Set it to generate to create an image from a prompt , or edit to transform existing images supplied through image_urls . A successful response includes success , task_id , trace_id , and a data array with returned image_url values. How it works Requests go to https://api.acedata.cloud . Send JSON and include a bearer token in the request header. The documented request headers are accept: application/json and content-type: application/json . The minimum generation requ...

How to Build a Practical Image Editing Workflow with GPT Image 2

Image
When image editing becomes part of a product workflow, the hard part is not generating one nice picture; it is preserving the right parts of an existing image while changing only the pieces your user asked for. This guide walks through a practical workflow for using Ace Data Cloud’s GPT Image 2 / 2.5 image editing API. The goal is to keep the integration boring in the best way: predictable inputs, explicit prompts, clear constraints, and recoverable failures. What you can do The image editing endpoint is designed for turning an existing image into a controlled variation. You can send an image by URL, upload a local file with multipart/form-data , provide up to 16 reference images, or constrain edits with a PNG alpha mask when using the official multipart contract. Change a product color while keeping composition, shadows, and camera angle stable. Replace or restyle a background without asking the model to invent the full scene from scratch. Use a mask so only a transpar...

A Practical Guide to Building Multi-Track Music Workflows with the Suno Studio Projects API

Image
If you are building with AI-generated music, the hard part is rarely a single audio file. The harder workflow is keeping track of project state, adding reference material, replacing a section without losing the rest of the arrangement, and exporting the final mix when the version is ready. What you can do The Suno Studio Projects API gives builders one project-oriented endpoint for multi-track music work: POST /suno/projects Authorization: Bearer YOUR_API_KEY Content-Type: application/json Instead of using a different route for every operation, you send an action field in the JSON body. The documented actions include create , retrieve , save , upload , add_track , generate_track , replace_section , commit_candidate , remove_track , and render . This makes the API useful for builder workflows such as: creating an empty Studio project and storing its project id ; retrieving the editable state before making changes; saving the complete project state with the current ver...