Siren Studio Custom Templates API
The studio-custom-templates API from Siren — 5 operation(s) for studio-custom-templates.
The studio-custom-templates API from Siren — 5 operation(s) for studio-custom-templates.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/mysiren-ai:mysiren-ai-studio-custom-templates-api"
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.
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: 3.2.0
info:
title: Siren Studio Custom Templates 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-custom-templates
paths:
/api/v1/programmatic/studio/custom-templates:
get:
tags:
- studio-custom-templates
summary: Programmatic List Custom Templates
operationId: programmatic_list_custom_templates_api_v1_programmatic_studio_custom_templates_get
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
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StudioCustomTemplateListOut'
'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: Programmatic List Custom Templates. 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.
/api/v1/programmatic/studio/custom-templates/import:
post:
tags:
- studio-custom-templates
summary: Programmatic Import Custom Template
operationId: programmatic_import_custom_template_api_v1_programmatic_studio_custom_templates_import_post
parameters:
- name: name
in: query
required: true
schema:
type: string
title: Name
- 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:
multipart/form-data:
schema:
$ref: '#/components/schemas/Body_programmatic_import_custom_template_api_v1_programmatic_studio_custom_templates_import_post'
responses:
'202':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StudioCustomTemplateOut'
'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: Programmatic Import Custom Template. 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.
/api/v1/programmatic/studio/custom-templates/{template_id}:
get:
tags:
- studio-custom-templates
summary: Programmatic Get Custom Template
operationId: programmatic_get_custom_template_api_v1_programmatic_studio_custom_templates__template_id__get
parameters:
- name: template_id
in: path
required: true
schema:
type: string
format: uuid
title: Template Id
- 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
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StudioCustomTemplateOut'
'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: Programmatic Get Custom Template. 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.
/api/v1/programmatic/studio/custom-templates/{template_id}/activate:
post:
tags:
- studio-custom-templates
summary: Programmatic Activate Custom Template
operationId: programmatic_activate_custom_template_api_v1_programmatic_studio_custom_templates__template_id__activate_post
parameters:
- name: template_id
in: path
required: true
schema:
type: string
format: uuid
title: Template Id
- 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
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StudioCustomTemplateOut'
'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: Programmatic Activate Custom Template. 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.
/api/v1/programmatic/studio/custom-templates/{template_id}/refine:
post:
tags:
- studio-custom-templates
summary: Programmatic Refine Custom Template
operationId: programmatic_refine_custom_template_api_v1_programmatic_studio_custom_templates__template_id__refine_post
parameters:
- name: template_id
in: path
required: true
schema:
type: string
format: uuid
title: Template Id
- 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/StudioTemplateRefineRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StudioCustomTemplateOut'
'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: Programmatic Refine Custom Template. 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).
Body_programmatic_import_custom_template_api_v1_programmatic_studio_custom_templates_import_post:
properties:
file:
type: string
format: binary
title: File
type: object
required:
- file
title: Body_programmatic_import_custom_template_api_v1_programmatic_studio_custom_templates_import_post
StudioCustomTemplateListOut:
properties:
items:
items:
$ref: '#/components/schemas/StudioCustomTemplateOut'
type: array
title: Items
type: object
required:
- items
title: StudioCustomTemplateListOut
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
StudioCustomTemplateOut:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
status:
type: string
title: Status
layer_stack_json:
type: object
title: Layer Stack Json
convergence_round_count:
type: integer
title: Convergence Round Count
preview_url:
anyOf:
- type: string
- type: 'null'
title: Preview Url
type: object
required:
- id
- name
- status
- layer_stack_json
- convergence_round_count
- preview_url
title: StudioCustomTemplateOut
StudioTemplateRefineRequest:
properties:
message:
type: string
title: Message
type: object
required:
- message
title: StudioTemplateRefineRequest
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError