Juice-1 API

Create a generation, check its status, and download the HTML from the Juice-1 REST API. OpenAPI specification

Jump to the cost calculator

Generate your first page

  1. Create an API key

    Sign up at tryjuice.ai and create an API key. Put it in your shell’s JUICE_API_KEY environment variable. Platform docs

  2. Create a generation

    Prepare a local generation.json file with your design brief using the request schema for POST /generations. Send the JSON to the API and save the generation ID from the response as GENERATION_ID in your shell. OpenAPI request and response schemas

    curl --fail-with-body --request POST 'https://api.tryjuice.ai/v1/generations' \
      --header "Authorization: Bearer $JUICE_API_KEY" \
      --header 'Content-Type: application/json' \
      --data-binary @generation.json
  3. Check the generation status

    Repeat GET /generations/{id} until the response indicates completion. If it reports a failure, stop polling and inspect the response. OpenAPI status endpoint

    curl --fail-with-body "https://api.tryjuice.ai/v1/generations/$GENERATION_ID" \
      --header "Authorization: Bearer $JUICE_API_KEY"
  4. Download the HTML

    Use GET /generations/{id}/html after the generation completes. OpenAPI HTML endpoint

    curl --fail --output design.html \
      "https://api.tryjuice.ai/v1/generations/$GENERATION_ID/html" \
      --header "Authorization: Bearer $JUICE_API_KEY"

Account and generation limits

You need a positive balance to start a generation. Up to 12 jobs can run concurrently. Jobs and their images remain available until deleted. Sulat’s API observations

MCP plugin for coding agents

The plugin connects to https://api.tryjuice.ai/mcp and uses browser-based OAuth sign-in. Its skill file tells the agent to call Juice-1 for design input before starting implementation. Platform docs

Sulat authenticated to MCP directly with an API key and reported 13 tools for generation tasks such as creating, waiting, downloading, sharing, and deleting, plus an account lookup tool. Sulat’s MCP observations

Monthly cost calculator

Estimates use $0.64 (lowest observed), $0.90 (account tool estimate), and $2.21 (highest observed) per design. Sulat’s smoke test and billing log

Low per month
—
Typical per month
—
High per month
—