Schedulin Studio API

The Studio API from Schedulin — 6 operation(s) for studio.

GitHub OpenAPI

Operations 6

POST /v0/studio/generateImage Generate an image with AI #
GET /v0/studio/getGeneration Get a single generation #
POST /v0/studio/ugc/createProject Create an AI UGC video #
GET /v0/studio/ugc/getProject Get an AI UGC video #
POST /v0/studio/ugc/addToMediaLibrary Save a finished UGC video to the media library #
GET /v0/studio/ugc/avatars/list List reusable UGC avatars for the active org #

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/schedulin-app:schedulin-app-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

schedulin-app-studio-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Schedulin Studio API
  version: 0.1.0
  description: 'Schedulin API for social media management.


    ## Authentication


    All API requests require authentication via the `x-api-key` header.


    You can generate an API key from your Schedulin dashboard.


    ```

    x-api-key: your-api-key

    ```'
servers:
- url: https://api.schedulin.app
security:
- apiKey: []
tags:
- name: Studio
paths:
  /v0/studio/generateImage:
    post:
      operationId: v0.studio.generateImage
      summary: Generate an image with AI
      description: Submit an AI image generation job
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                prompt:
                  type: string
                  minLength: 1
                  maxLength: 2000
                modelKey:
                  enum:
                  - flux_schnell
                  - flux_dev
                  - flux_pro_ultra
                  type: string
                  default: flux_schnell
                width:
                  type: integer
                  minimum: 256
                  maximum: 2048
                height:
                  type: integer
                  minimum: 256
                  maximum: 2048
              required:
              - prompt
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  generationId:
                    type: string
                required:
                - generationId
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: ai
      x-fern-sdk-method-name: generateImage
      security:
      - apiKey: []
      - oauth2:
        - ai:write
      tags:
      - Studio
  /v0/studio/getGeneration:
    get:
      operationId: v0.studio.getGeneration
      summary: Get a single generation
      description: Get the status and details of a generation job
      parameters:
      - name: id
        in: query
        required: true
        schema:
          type: string
        allowEmptyValue: true
        allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AiGeneration'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: ai
      x-fern-sdk-method-name: getGeneration
      security:
      - apiKey: []
      - oauth2:
        - ai:read
      tags:
      - Studio
  /v0/studio/ugc/createProject:
    post:
      operationId: v0.ugc.createProject
      summary: Create an AI UGC video
      description: Create an AI UGC (talking-actor) video from a brief and start rendering it. Reserves AI credits up front; poll getProject until COMPLETED or FAILED
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                  maxLength: 120
                productName:
                  type: string
                  minLength: 1
                  maxLength: 120
                audience:
                  type: string
                  maxLength: 280
                hookGoal:
                  type: string
                  maxLength: 280
                hook:
                  type: string
                  maxLength: 200
                cta:
                  type: string
                  maxLength: 120
                language:
                  type: string
                  maxLength: 16
                websiteUrl:
                  anyOf:
                  - type: string
                    format: uri
                  - const: ''
                    type: string
                notes:
                  type: string
                  maxLength: 1000
                actorSetting:
                  type: string
                  maxLength: 500
                voiceId:
                  enum:
                  - eve
                  - ara
                  - aurora
                  - luna
                  - celeste
                  - carina
                  - iris
                  - liora
                  - ursa
                  - leo
                  - rex
                  - orion
                  - atlas
                  - altair
                  - castor
                  - cosmo
                  - helios
                  - helix
                  - kepler
                  - lumen
                  - lux
                  - naksh
                  - perseus
                  - rigel
                  - sal
                  - sirius
                  - zagan
                  - zenith
                  type: string
                resolution:
                  enum:
                  - 720p
                  type: string
                lengthSeconds:
                  anyOf:
                  - const: 15
                    type: integer
                  - const: 30
                    type: integer
                storyIntro:
                  type: boolean
                storyOpening:
                  type: string
                  maxLength: 300
                showProduct:
                  type: boolean
                productScreenshot:
                  type: object
                  properties:
                    key:
                      type: string
                      minLength: 1
                    url:
                      type: string
                      format: uri
                    name:
                      type: string
                      maxLength: 255
                  required:
                  - key
                  - url
                avatarId:
                  type: string
              required:
              - productName
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  title:
                    type: string
                  status:
                    type: string
                  costMicros:
                    type: integer
                  estimatedCostMicros:
                    type: integer
                  errorMessage:
                    anyOf:
                    - type: string
                    - type: 'null'
                  createdAt:
                    type: string
                    format: date-time
                    x-native-type: date
                  updatedAt:
                    type: string
                    format: date-time
                    x-native-type: date
                required:
                - id
                - title
                - status
                - costMicros
                - estimatedCostMicros
                - errorMessage
                - createdAt
                - updatedAt
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: ugc
      x-fern-sdk-method-name: createVideo
      security:
      - apiKey: []
      - oauth2:
        - ai:write
      tags:
      - Studio
  /v0/studio/ugc/getProject:
    get:
      operationId: v0.ugc.getProject
      summary: Get an AI UGC video
      description: Get an AI UGC video's status, with signed URLs for the final video and poster once COMPLETED. Pass waitSeconds (max 45) to wait for it to finish before responding
      parameters:
      - name: id
        in: query
        required: true
        schema:
          type: string
        allowEmptyValue: true
        allowReserved: true
      - name: waitSeconds
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          maximum: 45
        allowEmptyValue: true
        allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  title:
                    type: string
                  status:
                    type: string
                  costMicros:
                    type: integer
                  estimatedCostMicros:
                    type: integer
                  errorMessage:
                    anyOf:
                    - type: string
                    - type: 'null'
                  createdAt:
                    type: string
                    format: date-time
                    x-native-type: date
                  updatedAt:
                    type: string
                    format: date-time
                    x-native-type: date
                  finalVideoUrl:
                    anyOf:
                    - type: string
                    - type: 'null'
                  finalPosterUrl:
                    anyOf:
                    - type: string
                    - type: 'null'
                required:
                - id
                - title
                - status
                - costMicros
                - estimatedCostMicros
                - errorMessage
                - createdAt
                - updatedAt
                - finalVideoUrl
                - finalPosterUrl
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: ugc
      x-fern-sdk-method-name: getVideo
      security:
      - apiKey: []
      - oauth2:
        - ai:read
      tags:
      - Studio
  /v0/studio/ugc/addToMediaLibrary:
    post:
      operationId: v0.ugc.addToMediaLibrary
      summary: Save a finished UGC video to the media library
      description: 'Copy a COMPLETED UGC video into the media library and return its permanent URL, ready to attach to a post. Idempotent: repeat calls return the same media'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                projectId:
                  type: string
              required:
              - projectId
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  mediaId:
                    type: string
                  url:
                    type: string
                  name:
                    anyOf:
                    - type: string
                    - type: 'null'
                  mimeType:
                    anyOf:
                    - type: string
                    - type: 'null'
                required:
                - mediaId
                - url
                - name
                - mimeType
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: ugc
      x-fern-sdk-method-name: addToMediaLibrary
      security:
      - apiKey: []
      - oauth2:
        - media:write
      tags:
      - Studio
  /v0/studio/ugc/avatars/list:
    get:
      operationId: v0.ugcAvatars.listAvatars
      summary: List reusable UGC avatars for the active org
      parameters:
      - name: page
        in: query
        schema:
          type: integer
          minimum: 1
          default: 1
        allowEmptyValue: true
        allowReserved: true
      - name: perPage
        in: query
        schema:
          type: integer
          minimum: 1
          maximum: 100
          default: 24
        allowEmptyValue: true
        allowReserved: true
      - name: sort
        in: query
        schema:
          type: array
          items:
            type: object
            properties:
              id:
                enum:
                - name
                - status
                - createdAt
                - updatedAt
                type: string
              desc:
                type: boolean
            required:
            - id
            - desc
          default:
          - id: createdAt
            desc: true
        style: deepObject
        explode: true
        allowEmptyValue: true
        allowReserved: true
      - name: name
        in: query
        schema:
          type: string
        allowEmptyValue: true
        allowReserved: true
      - name: status
        in: query
        schema:
          type: array
          items:
            type: string
        style: deepObject
        explode: true
        allowEmptyValue: true
        allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  items:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        name:
                          type: string
                        status:
                          type: string
                        description:
                          anyOf:
                          - type: string
                          - type: 'null'
                        voiceId:
                          anyOf:
                          - type: string
                          - type: 'null'
                        url:
                          anyOf:
                          - type: string
                          - type: 'null'
                        createdAt:
                          type: string
                          format: date-time
                          x-native-type: date
                      required:
                      - id
                      - name
                      - status
                      - description
                      - voiceId
                      - url
                      - createdAt
                  total:
                    type: integer
                  pageCount:
                    type: integer
                required:
                - items
                - total
                - pageCount
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalServerError'
      x-fern-sdk-group-name: ugc
      x-fern-sdk-method-name: listAvatars
      security:
      - apiKey: []
      - oauth2:
        - ai:read
      tags:
      - Studio
components:
  responses:
    ValidationFailed:
      description: 'Unprocessable request. Schema validation failures have `code: "INPUT_VALIDATION_FAILED"` and `data.fieldErrors` mapping each invalid field to its messages (nested issues name their full path, e.g. `media[0].url: ...`). Business-rule rejections (e.g. a `scheduledAt` in the past) have `code: "UNPROCESSABLE_CONTENT"` and carry the reason in `data.message` and `data.formErrors`.'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationErrorResponse'
          example:
            defined: false
            code: INPUT_VALIDATION_FAILED
            status: 422
            message: Input validation failed
            data:
              formErrors: []
              fieldErrors:
                caption:
                - 'Too small: expected string to have >=1 characters'
    Forbidden:
      description: Forbidden — the credential lacks the required scope or access.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: FORBIDDEN
            status: 403
            message: Forbidden
            data:
              message: Forbidden
    Unauthorized:
      description: Unauthorized — missing or invalid API key / access token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: UNAUTHORIZED
            status: 401
            message: Unauthorized
            data:
              message: Unauthorized
    NotFound:
      description: Not Found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: NOT_FOUND
            status: 404
            message: Not Found
            data:
              message: Not Found
    Conflict:
      description: Conflict
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: CONFLICT
            status: 409
            message: Conflict
            data:
              message: Conflict
    BadRequest:
      description: Bad Request — the request isn't allowed in the resource's current state (e.g. editing a published post).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: BAD_REQUEST
            status: 400
            message: Bad Request
            data:
              message: Bad Request
    RateLimited:
      description: Rate limit exceeded. Wait `Retry-After` seconds before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitErrorResponse'
          example:
            code: RATE_LIMITED
            status: 429
            message: Rate limit exceeded. Retry after 12s.
            error:
              code: RATE_LIMITED
              message: Rate limit exceeded. Retry after 12s.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
    InternalServerError:
      description: Internal Server Error
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            defined: false
            code: INTERNAL_SERVER_ERROR
            status: 500
            message: Internal Server Error
            data:
              message: Internal Server Error
  schemas:
    ValidationErrorResponse:
      type: object
      description: 422 error. `data.fieldErrors` maps each invalid field to its messages; `data.formErrors` holds errors not tied to one field. `code` is "INPUT_VALIDATION_FAILED" for schema validation and "UNPROCESSABLE_CONTENT" for business-rule rejections, whose reason is also in `data.message`.
      properties:
        code:
          type: string
          description: '"INPUT_VALIDATION_FAILED" or "UNPROCESSABLE_CONTENT"'
        status:
          type: integer
        message:
          type: string
        defined:
          type: boolean
        data:
          type: object
          properties:
            message:
              type: string
              description: Human-readable reason (business-rule rejections only).
            formErrors:
              type: array
              items:
                type: string
            fieldErrors:
              type: object
              additionalProperties:
                type: array
                items:
                  type: string
      required:
      - code
      - status
      - data
    RateLimitErrorResponse:
      type: object
      description: '429 rate-limit error. Per-key request limits return `code: "RATE_LIMITED"` (also mirrored under `error`); the per-user limiter returns `code: "TOO_MANY_REQUESTS"`. Honor the `Retry-After` header.'
      properties:
        code:
          type: string
        status:
          type: integer
        message:
          type: string
        defined:
          type: boolean
        data:
          type: object
          additionalProperties: true
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
          required:
          - code
          - message
      required:
      - code
      - status
    ErrorResponse:
      type: object
      description: Error envelope. The machine-readable `code` and HTTP `status` are always present; the human-readable reason is in `message` / `data.message`.
      properties:
        code:
          type: string
          description: e.g. "BAD_REQUEST", "UNAUTHORIZED", "NOT_FOUND".
        status:
          type: integer
        message:
          type: string
        defined:
          type: boolean
        data:
          type: object
          additionalProperties: true
          properties:
            message:
              type: string
            userMessage:
              type: string
              description: End-user-safe explanation, when available.
            errorTag:
              type: string
            isRetryable:
              type: boolean
      required:
      - code
      - status
    AiGeneration:
      type: object
      properties:
        id:
          type: string
        type:
          type: string
        status:
          enum:
          - PENDING
          - PROCESSING
          - COMPLETED
          - FAILED
          - CANCELLED
          type: string
        modelKey:
          type: string
        prompt:
          type: string
        imageUrl:
          anyOf:
          - type: string
          - type: 'null'
        resultUrl:
          anyOf:
          - type: string
          - type: 'null'
        width:
          anyOf:
          - type: integer
          - type: 'null'
        height:
          anyOf:
          - type: integer
          - type: 'null'
        durationSeconds:
          anyOf:
          - type: integer
          - type: 'null'
        costMicros:
          type: integer
        estimatedCostMicros:
          type: integer
        errorMessage:
          anyOf:
          - type: string
          - type: 'null'
        createdAt:
          type: string
          format: date-time
          x-native-type: date
        updatedAt:
          type: string
          format: date-time
          x-native-type: date
      required:
      - id
      - type
      - status
      - modelKey
      - prompt
      - imageUrl
      - resultUrl
      - width
      - height
      - durationSeconds
      - costMicros
      - estimatedCostMicros
      - errorMessage
      - createdAt
      - updatedAt
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication
    oauth2:
      type: oauth2
      description: OAuth2 authorization code flow (PKCE supported). Each operation lists the scope it requires.
      flows:
        authorizationCode:
          authorizationUrl: https://api.schedulin.app/oauth/authorize
          tokenUrl: https://api.schedulin.app/oauth/token
          scopes:
            posts:read: View posts and drafts
            posts:write: Create, edit, and delete posts
            tags:read: View tags
            tags:write: Create, edit, and delete tags
            social-accounts:read: View connected social accounts
            social-accounts:write: Update and disconnect social accounts
            channels:read: View channels
            media:read: View media files
            media:write: Upload and delete media files
            analytics:read: View analytics data
            org:read: View organization details
            ai:read: View AI generation jobs and available voices
            ai:write: Generate AI images and videos (spends AI credits)
            webhooks:read: View webhook endpoints and delivery history
            webhooks:write: Create, edit, and delete webhook endpoints