Skip to main content

API · Lesson 1 of 1

How to use the PixelDojo API

Black belt· Pro1:28 videoUses API Platform

Every model through one REST API, a playground on every docs page, and a key in a minute.

You need: A browser for the playground, then an API key for your code.

Step by step

  1. Open the API page

    Over 150 image, video and audio models behind one REST API, on the same credits as the web app.

  2. Learn the one pattern

    Submit a job, then poll for completion or get a webhook. Output URLs come back when the job is ready. Every model works the same way.

  3. Test it in the playground

    Each model page has its endpoint and a playground. Enter a prompt, inspect the exact request JSON and press Run test to send a real request.

  4. Read the parameters

    Under the playground, every parameter is listed with its type and default. Give your agents the llm.txt docs or the OpenAPI spec.

  5. Create a key

    On API keys, name your key and press Create key. You can create keys before you subscribe.

Why it works

  • Saved characters work through the API too: put @Name in the prompt and its photos ride along as references.
  • Use webhooks for video. Polling a two-minute render wastes requests.

Your practice task

Run one model in the playground, copy the request, and send it from your terminal with your key.

Read the transcript(1:28)

Put PixelDojo models to work through one API, test real requests in your browser, and create your own key Open the PixelDojo API page More than 150 image, video, and audio models are available through one REST API, using the same credits as the web app The request flow stays consistent Submit a job, then poll for completion, or use a webhook You get output URLs back when the job is ready Each model has its own page, with the endpoint and an in-browser playground together Here, the API endpoint section shows exactly where to send your request Enter a prompt, like a watercolor fox at dawn Inspect the exact request JSON alongside it, then press Run Test to send a real API request Below the playground, review every parameter, including types and defaults Give your agents the llm.txt documentation, or OpenAPI spec, to work from the model's interface Saved characters work through the API, too Use its name in your prompt to reference a saved character, with its photos added as reference images automatically On API keys, name your key MyApp, then press Create Key Signed-in users can create keys without a subscription, so you can prepare access before subscribing You've explored the API, playground, and keys Next, try another model with a prompt for your project

Go deeper