Get Started

Overview

Call AI Studio's image, video, and voice models through the API to generate results.

At a Glance

ItemDetails
https://openapi.aistudio.dropshot.io/v1Base URL
Authorization: Bearer ds_live_...Keep the key you created in the API console on your server only, and use it from there.
JSON · snake_caseRequest and response body format
credit_costCredits are deducted at the model's list price, with no subscription discounts or unlimited mode.

Request list

RequestsDescription
POST /generationsSends a generation request. Returns a job ID.
GET /generations/{id}Check job status and results
GET /generationsList jobs
POST /generations/{id}/cancelCancel a waiting job
GET /modelsModel list and prices
GET /models/{model}Input options for a single model
GET /balanceCredits remaining

First Request

When you send a generation request, you immediately get a job ID back. You get the result separately with that ID.

curl -X POST https://openapi.aistudio.dropshot.io/v1/generations \
  -H "Authorization: Bearer $DROPSHOT_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "MODEL_ID",
  "input": {
    "prompt": "A red fox running through snow"
  },
  "webhook_url": "https://example.com/webhooks/dropshot"
}'
202 Accepted
{
  "id": "api_8f14e45fceea167a5a36dedd4bea2543",
  "status": "queued",
  "model": "MODEL_ID",
  "credit_cost": 150.03,
  "created_at": "2026-11-17T09:00:00.123Z"
}

Request Flow

  1. Send: Send a generation request with the model ID and input, and get a job ID.
  2. Wait: check the status with the job ID, or get a completion or failure notification via webhook.
  3. Receive: when the job completes, download the file from the result URL in output. Responses include output for 24 hours after completion, and the URLs you receive stay open for at least 24 hours.

Related Docs