VS Code · That drops the file.
Drop one mcp.json into .vscode and GitHub Copilot's agent can generate the images, icons, and video your project needs — from inside the editor, priced per output.
API key auth — you'll paste one nj_sk_ key, once.
Watch it work
Key creation is free. You’ll need developer credit to activate it.
Create and verify your key first to enable installation.
We’ll show you how to add NinjaChat to VS Code, with your key already filled in. Then you can send your first prompt.
Enable NinjaChat in a new chat, then send this check.
Use NinjaChat to check my account balance and spending headroom, then list the available image models. Do not generate anything or add credits. If NinjaChat is unavailable, tell me which setup step is missing.
Step 2 · First ask in VS Code
Check the connection above, then paste your request. Approve the quoted cost before generating.
Example style · your result will varySay this in VS Code
Use NinjaChat for this task: Make one 16:9 image of a city grown from living wood, with amber-lit markets at dusk. After approval, save it under public/ninjachat-hero with the correct file extension and verify the file. First check my balance and use estimate_cost to quote the model, quantity, dimensions or duration, and total price. Ask for any missing reference files. Do not generate, publish, or add credits until I approve the quote. For video, retain the job ID and poll get_generation_status until complete; resume that job instead of starting another. Return the finished media and download links.
Step 3 · What Copilot drops
Agent mode calls generate_image and leaves a real file in the workspace.





Four grafts. The agent picks a keeper and ships the page.
Image and video engines behind one URL — VS Code asks, NinjaChat runs them. New models appear here; your connection never changes.







generate_imageCreate images and download the full-resolution results.edit_imageChange a background, color, or detail with a prompt.image_to_videoAdd motion to a still image.search_creationsSearch your images, videos and voiceovers.estimate_costCheck the price before generating.Also on the server
create_media·generate_speech·generate_video·edit_video·extend_video·get_generation_status·get_creation·save_creation_as·list_creative_entities·compare_models·search_models·upload_asset·prepare_scrub_video·publish_page·get_account_balance·add_credits
Use a current VS Code with Copilot Chat and MCP access allowed by your workspace policy. The file must be .vscode/mcp.json in the workspace root with a top-level "servers" object.
Open Copilot Chat in agent mode (not ask mode), click the tools icon, and check the ninjachat group is toggled on — VS Code disables new tool groups by default in existing chats.
The Authorization header value must be the full string "Bearer nj_sk_…". For team repos, use an input variable in mcp.json instead of hardcoding the key, so each dev supplies their own.
Ask the agent to download the result to a workspace path — media comes back as hosted URLs, and the write into your project happens via the agent's own file tools.
LOAM · Living-wood city
Every frame of LOAM was generated through NinjaChat — then VS Code shipped it.
Every frame of LOAM was generated through the NinjaChat MCP server.