NewYouGo.NewNano Banana 2.1Create images or edit a reference, with output up to 4K.
CreateAI image generationAI video generationAI music generationImage editingBackground removerImage upscalerBatch background removerCustom LoRA styling
ForBring a brand into focus.Give your story a new world.Make something worth hearing.Create a look of your own.
ExploreInspirationCreative possibilitiesModelsHotel Lobby AI GeneratorHotel Lobby AI Free
ResourcesGalleryBlogDocumentationPricingHotel Lobby AI GeneratorHotel Lobby AI FreeContactPrivacy PolicyTerms of ServiceOpen Studio
PricingKlein image studio

NEWYOUGO

What will you create?

Choose a starting point. See where your idea takes you.

Skip to content
Documentation

Use NewYouGo in Claude Code and Codex

Create an API key, paste one command, and your AI coding tool can generate images, videos and music with your NewYouGo credits.

NewYouGo runs a remote MCP server at https://newyougo.com/api/mcp. Once Claude Code, Codex, Cursor or a similar AI tool is connected, you can simply ask it to "generate an image of …". The AI picks a model, tells you the price, submits after you agree, waits for the result and downloads the file to your computer.

It spends credits from your own account, at exactly the same prices as generating on the website.

Before you start

  • A NewYouGo account.
  • Purchased credits in that account. API generations can only spend purchased credits; gifted credits are for the website only. Flux Schnell is the exception and uses the free 20-per-day allowance.

Step 1: Create an API key

  1. Sign in and open Settings › API keys, then click "Create creation API key".
  2. Give it a name, such as "My Claude Code".
  3. "Allowed models" defaults to all models, including ones added later. Untick it to choose specific models.
  4. Set the credit limit per job, the total credit budget and the expiry. The AI can never spend more than the per-job limit on one generation, and the key can never spend more than its budget in total.
  5. Click Create. The full key (starting with nyg_) is shown only once, so copy it now.

The key can spend your credits. Don't share it, don't commit it to a repository and don't paste it into public chats. If it leaks, click "Revoke" on the same page and it stops working immediately.

Step 2: Connect your AI tool

After you create a key, the page shows these commands with your key already filled in. Below, replace nyg_your_key with your full key.

Claude Code

Run once in your terminal:

claude mcp add --scope user --transport http newyougo https://newyougo.com/api/mcp --header "Authorization: Bearer nyg_your_key"

Run claude mcp list; newyougo ... ✔ Connected means it worked.

Codex

Put the key in an environment variable (add it to ~/.zshrc or ~/.bashrc, then open a new terminal):

export NEWYOUGO_API_KEY=nyg_your_key

Then add the server:

codex mcp add newyougo --url https://newyougo.com/api/mcp --bearer-token-env-var NEWYOUGO_API_KEY

Cursor and other remote-MCP clients

Add this to the tool's MCP configuration (for Cursor, ~/.cursor/mcp.json):

{
  "mcpServers": {
    "newyougo": {
      "url": "https://newyougo.com/api/mcp",
      "headers": { "Authorization": "Bearer nyg_your_key" }
    }
  }
}

Step 3: Just ask

For example:

  • "Use NewYouGo to generate an avocado illustration and save it here."
  • "Use NewYouGo's GPT Image 2 to give ./photo.png a soft-light look."
  • "Make a 5-second video with NewYouGo's Kling 3.0: the camera drifts through an avocado orchard. Tell me the credit cost first."
  • "How many NewYouGo credits do I have left?"

The AI quotes the price before spending anything. It only submits after you agree, and it sends the limit you approved, so a higher price is refused.

What the AI can do

ToolPurpose
list_models / get_modelAvailable models, operations and parameters
get_balancePurchased credits available, and how much this key has used
create_upload_urlA 10-minute upload link for a reference image, video or audio file on your computer
estimate_costPrice a generation without spending credits
generateSubmit a generation and charge the quoted credits
get_job / list_jobsProgress and results
get_assetA download link for a file (valid 5 minutes; ask again for a fresh one)

Results are kept for 30 days and uploaded references for 7 days, up to 500 MB per account.

How credits are charged

  • Prices are the same as on the website and depend on model, resolution and duration; see Pricing. FLUX 3 Max is priced from a live provider quote.
  • Credits are reserved when you submit and refunded automatically if the generation fails.
  • Retrying the same request is never charged twice.

Troubleshooting

MessageMeaning and fix
INVALID_API_KEYThe key is wrong, revoked or expired. Create a new one and update your configuration.
INSUFFICIENT_CREDITSNot enough purchased credits. Buy credits on Pricing.
MAX_CREDITS_EXCEEDEDThe price is above the limit you approved. Check the quote and let the AI retry with a new limit.
KEY_BUDGET_EXCEEDEDThis key's total budget is used up. Create a new key or use one with a larger budget.
MODEL_SCOPE_DENIEDThis key doesn't allow that model.
RATE_LIMITEDEach key allows 120 requests per minute. Wait a minute.
CONTENT_POLICY_VIOLATIONThe prompt was rejected by content moderation.

Revoking a key

In Settings › API keys, click "Revoke" next to the key. Every tool using it stops working immediately, and jobs that were queued but not yet submitted are not run.