Siren Studio API

Event cards from a saved design_id.

GitHub OpenAPI

Operations 1

POST /api/v1/studio/generate Studio Generate #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/mysiren-ai:mysiren-ai-studio-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

mysiren-ai-studio-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Siren Studio API
  version: 1.0.0
  description: 'Siren public API. One brief becomes on-brand images, video, and posts.


    **Base URL:** `https://api.mysiren.ai`


    **Versioning:** URL path. Current surface is `/api/v1/`. Breaking changes

    ship as `/api/v2/`. Additive fields on v1 responses are not breaking.


    **Deprecation:** a v1 operation that will go away is marked `deprecated: true`

    and the live response carries `Deprecation: true` plus a `Sunset` HTTP-date

    at least 90 days out. Agents should stop calling a sunset operation before

    that date.


    **Auth:** `Authorization: Bearer sk_live_…` or `sk_test_…`. Key minting is open on every plan, Spark included; video is the one Pro gate.

    Mint keys in the dashboard under Developer. First onboarding post is free;

    API credits follow the workspace plan.


    **Errors:** JSON object `{ "code": string, "message": string, "detail"?: any }`.

    FastAPI validation may also send `{ "detail": … }`. Treat a string `detail`

    as the message and use `code` when present. `429` includes `Retry-After`

    and RateLimit-* headers.


    **Rate limits:** every response includes IETF `RateLimit-Limit` /

    `RateLimit-Remaining` / `RateLimit-Reset` and legacy `X-RateLimit-*`.

    Honor `Retry-After` on 429.


    **Docs:** https://mysiren.ai/api · https://mysiren.ai/docs.txt ·

    https://mysiren.ai/llms.txt · MCP at https://mcp.mysiren.ai/mcp'
  contact:
    name: Siren Ai, Inc.
    url: https://mysiren.ai
    email: support@mysiren.ai
servers:
- url: https://api.mysiren.ai
  description: Production
tags:
- name: Studio
  description: Event cards from a saved design_id.
paths:
  /api/v1/studio/generate:
    post:
      tags:
      - Studio
      summary: Studio Generate
      operationId: studio_generate_api_v1_studio_generate_post
      parameters:
      - name: X-Siren-Key-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Id
      - name: X-Siren-Key-Workspace-ID
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Workspace-Id
      - name: X-Siren-Key-Scopes
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Siren-Key-Scopes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StudioGenerateRequest'
      responses:
        '202':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StudioGenerateResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '400':
          description: Bad request. Typed Error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Key lacks the required scope or plan.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Credits or plan gate. Message names the upgrade.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Run or resource not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Conflict (idempotency replay mismatch).
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited. Honor Retry-After and RateLimit-*.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Internal error. Retry with backoff.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      description: Studio Generate. Siren public API on /api/v1/. Auth is Bearer sk_live_ or sk_test_. See https://mysiren.ai/api and https://mysiren.ai/openapi.json.
components:
  schemas:
    Error:
      type: object
      title: Error
      required:
      - code
      - message
      additionalProperties: true
      properties:
        code:
          type: string
          description: Machine-readable code (rate_limited, plan_required, unauthorized).
        message:
          type: string
          description: Human-readable explanation safe to show an operator.
        detail:
          description: Optional structured extra (field errors, plan slug, retry hint).
    StudioGenerateResponse:
      properties:
        run_id:
          type: string
          title: Run Id
        poll_url:
          type: string
          title: Poll Url
        delivery:
          items:
            type: string
          type: array
          title: Delivery
      type: object
      required:
      - run_id
      - poll_url
      - delivery
      title: StudioGenerateResponse
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    StudioGenerateRequest:
      properties:
        design_id:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Design Id
        output_type:
          anyOf:
          - type: string
            maxLength: 120
          - type: 'null'
          title: Output Type
        data:
          anyOf:
          - type: object
          - type: 'null'
          title: Data
        caption:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Caption
        delivery:
          type: string
          pattern: ^(auto|download)$
          title: Delivery
          default: auto
        channel:
          type: string
          maxLength: 80
          title: Channel
          default: twitter
        surface:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Surface
      type: object
      title: StudioGenerateRequest
      description: "Fire a Studio render.\n\nTwo equally valid shapes:\n\n1. **design_id** (preferred, frictionless) — reference a saved Studio\n   design. Optional ``data`` shallow-merges over the saved body so event\n   values (pnl, price, handle…) can change without re-shipping the full\n   seed. One workspace API key + one Studio profile covers every design.\n2. **output_type + data** — legacy / explicit full body (wizard snippets)."