> ## Documentation Index
> Fetch the complete documentation index at: https://docs.followr.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a video project

> Makes a whole video in the background: one clip per scene, the music, then the final cut with captions and transitions. Poll `GET /videoProjects/{id}` every 10 seconds until `completed`, `failed` or `cancelled`. Add `?estimate=1` for the price per scene, without starting anything (`200`).

- **Files**: every URL must be an HTTPS link to a file stored by Followr (media library or an AI result's `response`), or `422`.
- **Credits**: the whole estimate must fit in the media credits (`402`, `entity` `images`). Clips are charged when finished, at `GET /videoEngines` prices, and composed music as a music track. Stills, reused clips and the final cut are free.
- **Fallbacks**: an avatar scene that doesn't fit its engine is rerouted (`rerouted`, `reason`) or left out. A failed clip is retried once, then an avatar tries an engine that costs no more. If it still fails, an avatar scene is left out and a motion scene becomes a still.
- **Limits**: 3 projects in progress per company (`409`). A project not done 45 minutes after creation fails (`deadline_at`); finished clips stay charged and can be reused. Running out of credits midway fails the project.

The `client` role can't create projects.




## OpenAPI

````yaml /api-reference/openapi.json post /companies/{company_id}/videoProjects
openapi: 3.1.0
info:
  title: Followr API
  version: 1.0.0
  summary: Publish, schedule and create social media content programmatically.
  description: >
    The Followr REST API gives your code the same engine as the Followr app:
    brands, social accounts, posts and scheduling, the media library, AI
    generation, music and the social inbox.


    Send every request over HTTPS to `https://api.followr.ai/api`, with an API
    key as a Bearer token. Bodies are JSON.
  contact:
    name: Followr Support
    email: hello@followr.ai
    url: https://followr.ai
  termsOfService: https://followr.ai/terms
servers:
  - url: https://api.followr.ai/api
    description: Production
security:
  - bearerAuth: []
tags:
  - name: Users
    description: |
      The person behind an API key. Use `me` as the ID for the key's user.
  - name: Companies
    description: >
      Brands or client workspaces. Each uses the plan of the account that
      created it (`user_id`).
  - name: Team
    description: |
      Company members and their roles: invite, change roles, remove.
  - name: Brand style
    description: >
      How a company's AI pictures look, and the default brand sound for AI
      videos.
  - name: API keys
    description: |
      REST API keys, MCP keys and app sign-ins.
  - name: Social accounts
    description: >
      A social account is a profile, Page or channel a company has connected,
      such as an Instagram professional account or a LinkedIn page. A company
      has at most one per network. Most networks connect by browser sign-in in
      the Followr app; Bluesky and Medium can also connect through this API.
  - name: Pinterest
    description: >
      Every pin is published to a board. List or create boards here, then set
      the board ID on the Pinterest post.
  - name: YouTube
    description: >
      Video categories and playlists of a connected YouTube channel, for YouTube
      posts.
  - name: Canva
    description: >
      Canva connects like a social account (browser sign-in in the app) but
      doesn't publish. List the connected user's designs and export them as
      files for your posts.
  - name: Post groups
    description: >
      One piece of content and its schedule, with one post per network. The
      group decides when; each post decides what.
  - name: Posts
    description: >
      What goes out on one network (text, media, settings) and its publishing
      status.
  - name: Scheduling
    description: |
      Posting-time suggestions from the company's own results.
  - name: Queues
    description: >
      Weekly time slots that publish waiting post groups (Auto-Listing in the
      app). In paths, a queue is a `ruleGroup` and a slot is a `rule`.
  - name: Tags
    description: >
      Labels for post groups. They also decide which queue takes a waiting
      group.
  - name: Assets
    description: >
      An asset is one item in a company's media library: a picture, a video or a
      text. Its picture or video is an attached file (see **Files**). Posts list
      asset IDs in `assets_ids`.
  - name: Folders
    description: >
      Folders organize a company's media library and can be nested. Each asset
      is in one folder at most, or at the top level.
  - name: Files
    description: >
      Upload a picture, video or audio file to an asset, post cover, company
      logo, profile picture, avatar or voice sample. Leave `url` out and `PUT`
      the bytes to the returned `presigned_url` within 10 minutes, or send a
      public `url` for the server to download. No multipart. Full details: `POST
      /assets/{id}/image`.
  - name: Avatars
    description: >
      An avatar is a person shown in your company's videos: a name, a picture, a
      voice and optional scene pictures (the same person in other settings). One
      avatar per company can be the default.
  - name: Voices
    description: >
      A voice is what your company's videos and audio speak with. It points to a
      stock library voice through `platform_external_id` and can hold a sample
      recording. Saving one spends no credits.
  - name: AI generation
    description: >
      Generate text, images, videos and speech. Every generation is an AI
      result. Long ones answer at once with a `pending` result that you poll.
  - name: AI copywriting
    description: >
      Post copy, titles and thread splits for a social network, in the company's
      brand voice.
  - name: AI result groups
    description: >
      Related AI results: a chat conversation, a Creative Studio design or a
      video project.
  - name: Prompts
    description: |
      Saved prompt templates for text or image generation, per social network.
  - name: Video
    description: >
      Video engines and their prices, and video projects: avatar videos and
      short videos the server makes scene by scene, with captions, transitions
      and music.
  - name: Creative Studio
    description: >
      Social media graphics (single creatives, quote cards, carousels and more),
      planned slide by slide from a style preset and drawn as images.
  - name: Music
    description: >
      The catalog and two writing helpers (lyrics, style suggestions). Making
      music needs a plan that includes Music.
  - name: Music styles
    description: |
      A company's saved sounds, reused so its tracks sound like one artist.
  - name: Music tracks
    description: |
      AI songs and instrumentals: generate, poll, master, download.
  - name: Music releases
    description: >
      Singles, EPs and albums with store metadata, a cover, readiness checks and
      a ZIP kit you upload to a distributor yourself.
  - name: Conversations
    description: >
      Direct-message threads between your connected Facebook pages or Instagram
      accounts and people. Only the person can start one.
  - name: Messages
    description: |
      The messages in a conversation: read, reply or remove them.
  - name: Comments
    description: >-
      Comments on your Facebook and Instagram posts, and your team's public
      replies.
  - name: Contacts
    description: >
      People who messaged one of your accounts or commented on its posts, per
      company and network.
  - name: Internal notes
    description: >
      Notes your team and clients leave on a post group, post or library asset,
      for example to approve it. Never published.
  - name: Research
    description: |
      Current news to write about, from Followr's news provider.
  - name: Plan and usage
    description: |
      Plan allowances, usage, and the caps owners set for companies and members.
  - name: Billing
    description: |
      The key's user's invoices, past and upcoming.
  - name: Webhooks
    description: >
      Requests Followr sends to your server when a post is published or fails.
      See the webhooks guide for setup and verification.
paths:
  /companies/{company_id}/videoProjects:
    post:
      tags:
        - Video
      summary: Create a video project
      description: >
        Makes a whole video in the background: one clip per scene, the music,
        then the final cut with captions and transitions. Poll `GET
        /videoProjects/{id}` every 10 seconds until `completed`, `failed` or
        `cancelled`. Add `?estimate=1` for the price per scene, without starting
        anything (`200`).


        - **Files**: every URL must be an HTTPS link to a file stored by Followr
        (media library or an AI result's `response`), or `422`.

        - **Credits**: the whole estimate must fit in the media credits (`402`,
        `entity` `images`). Clips are charged when finished, at `GET
        /videoEngines` prices, and composed music as a music track. Stills,
        reused clips and the final cut are free.

        - **Fallbacks**: an avatar scene that doesn't fit its engine is rerouted
        (`rerouted`, `reason`) or left out. A failed clip is retried once, then
        an avatar tries an engine that costs no more. If it still fails, an
        avatar scene is left out and a motion scene becomes a still.

        - **Limits**: 3 projects in progress per company (`409`). A project not
        done 45 minutes after creation fails (`deadline_at`); finished clips
        stay charged and can be reused. Running out of credits midway fails the
        project.


        The `client` role can't create projects.
      operationId: createVideoProject
      parameters:
        - $ref: '#/components/parameters/CompanyId'
        - name: estimate
          in: query
          required: false
          description: '`1` to get the price without starting anything.'
          schema:
            type: boolean
          example: false
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VideoProjectRequest'
            example:
              kind: avatar
              title: Winter menu
              output:
                width: 1080
                height: 1920
              scenes:
                - key: intro
                  type: avatar
                  picture_url: https://cdn.followr.ai/assets/2026/12/barista-portrait.png
                  speech_url: >-
                    https://cdn.followr.ai/files/aiResults/120051/audios/5b7e2c11.mp3
                  speech_seconds: 12.4
                  script: >-
                    Our winter menu is here. Come in, warm up, and try the maple
                    oat latte.
                  avatar:
                    engine: heygen_avatar_6_turbo
                    resolution: 1080p
                - key: latte
                  type: motion
                  picture_url: >-
                    https://cdn.followr.ai/files/aiResults/120044/images/0f1c9a2e.jpg
                  speech_url: >-
                    https://cdn.followr.ai/files/aiResults/120053/audios/a90d3e57.mp3
                  speech_seconds: 6.2
                  motion:
                    engine: h3_max_turbo
                    prompt: Steam rises from the cup while the camera slowly pushes in
                - key: outro
                  type: still
                  picture_url: https://cdn.followr.ai/assets/2026/12/storefront.jpg
                  speech_url: >-
                    https://cdn.followr.ai/files/aiResults/120054/audios/77c0b1d2.mp3
                  speech_seconds: 4.8
              captions:
                enabled: true
                effect: highlight
              animation:
                transition: wipe_left
              music:
                source: compose
                prompt: warm acoustic winter instrumental
                volume: 14
      responses:
        '200':
          description: With `?estimate=1`, the price of the request. Nothing is started.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/VideoProjectEstimate'
              example:
                data:
                  credits: 392
                  scenes:
                    - key: intro
                      engine: heygen_avatar_6_turbo
                      resolution: 1080p
                      credits: 240
                      rerouted: false
                      reason: null
                    - key: latte
                      engine: h3_max_turbo
                      resolution: 768p
                      credits: 112
                      rerouted: false
                      reason: null
                    - key: outro
                      engine: null
                      resolution: null
                      credits: 0
                      rerouted: false
                      reason: null
                  music_credits: 40
        '201':
          description: Created. The project is `queued`; poll `GET /videoProjects/{id}`.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/VideoProject'
              example:
                data:
                  id: 3120
                  company_id: 1287
                  user_id: 5521
                  kind: avatar
                  title: Winter menu
                  status: queued
                  active: true
                  error: null
                  credits:
                    estimate: 392
                    spent: 0
                  output:
                    width: 1080
                    height: 1920
                  frame_rate: null
                  scenes:
                    - key: intro
                      type: avatar
                      renders_as: avatar
                      status: queued
                      engine: heygen_avatar_6_turbo
                      resolution: 1080p
                      attempt: 0
                      tries: 0
                      credits: 240
                      rerouted: false
                      reason: null
                      error: null
                      generation_id: null
                      picture_url: >-
                        https://cdn.followr.ai/assets/2026/12/barista-portrait.png
                      speech_seconds: 12.4
                      clip: null
                    - key: latte
                      type: motion
                      renders_as: motion
                      status: queued
                      engine: h3_max_turbo
                      resolution: 768p
                      attempt: 0
                      tries: 0
                      credits: 112
                      rerouted: false
                      reason: null
                      error: null
                      generation_id: null
                      picture_url: >-
                        https://cdn.followr.ai/files/aiResults/120044/images/0f1c9a2e.jpg
                      speech_seconds: 6.2
                      clip: null
                    - key: outro
                      type: still
                      renders_as: still
                      status: still
                      engine: null
                      resolution: null
                      attempt: 0
                      tries: 0
                      credits: 0
                      rerouted: false
                      reason: null
                      error: null
                      generation_id: null
                      picture_url: https://cdn.followr.ai/assets/2026/12/storefront.jpg
                      speech_seconds: 4.8
                      clip: null
                  music:
                    source: compose
                    mode: compose
                    status: queued
                    track_id: null
                    engine: stable_audio_3
                    seconds: 24
                    volume: 14
                    credits: 40
                    error: null
                    url: null
                  final: null
                  started_at: null
                  finished_at: null
                  deadline_at: '2026-12-15T10:15:00+00:00'
                  created_at: '2026-12-15T09:30:00.000000Z'
                  updated_at: '2026-12-15T09:30:00.000000Z'
        '400':
          description: The company is disabled.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: This company is disabled
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          description: >-
            The company already has 3 videos in progress, or another one is
            starting right now.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                message: >-
                  This company already has 3 videos being made. Wait for one to
                  finish, or cancel one, and try again.
        '422':
          description: One or more fields are invalid.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationError'
              example:
                message: >-
                  Use a file stored in your Followr media library: this address
                  is not one of ours.
                errors:
                  scenes.0.speech_url:
                    - >-
                      Use a file stored in your Followr media library: this
                      address is not one of ours.
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    CompanyId:
      name: company_id
      in: path
      required: true
      description: The ID of the company (brand) the resource belongs to.
      schema:
        type: integer
        minimum: 1
      example: 1287
  schemas:
    VideoProjectRequest:
      type: object
      required:
        - kind
        - output
        - scenes
      properties:
        kind:
          type: string
          enum:
            - avatar
            - short
          description: >-
            `avatar` (avatar video) or `short` (short video). Sets the default
            animation set and the final cut.
          example: avatar
        title:
          type:
            - string
            - 'null'
          maxLength: 250
          description: The project's name. "Avatar video" or "Short video" when left out.
          example: Winter menu
        output:
          type: object
          required:
            - width
            - height
          description: The size of the video, in even pixels.
          properties:
            width:
              type: integer
              minimum: 256
              maximum: 2560
              description: Width in pixels, an even number.
              example: 1080
            height:
              type: integer
              minimum: 256
              maximum: 2560
              description: Height in pixels, an even number.
              example: 1920
        frame_rate:
          type:
            - integer
            - 'null'
          enum:
            - 25
            - null
          description: Frames per second. Only 25 is accepted.
          example: 25
        scenes:
          type: array
          minItems: 1
          maxItems: 20
          description: The scenes, in order.
          items:
            $ref: '#/components/schemas/VideoProjectSceneInput'
        captions:
          type:
            - object
            - 'null'
          description: Captions read from each scene's speech.
          properties:
            enabled:
              type:
                - boolean
                - 'null'
              description: Show captions.
              example: true
            effect:
              type:
                - string
                - 'null'
              maxLength: 40
              description: >-
                How words appear: `highlight` (default), `karaoke`, `fade`,
                `bounce`, `slide`, `enlarge`, `color`, or `none` (whole lines).
              example: highlight
            position_y:
              type:
                - string
                - 'null'
              maxLength: 20
              description: Vertical position, as a percentage of the height. Default `82%`.
              example: 82%
            font_family:
              type:
                - string
                - 'null'
              maxLength: 100
              description: The font. Default `Montserrat`.
              example: Montserrat
            font_size:
              type:
                - string
                - 'null'
              maxLength: 20
              description: The font size, with its unit.
              example: 9.29 vmin
            text_color:
              type:
                - string
                - 'null'
              maxLength: 40
              description: The text color. Default `#ffffff`.
              example: '#ffffff'
            highlight_color:
              type:
                - string
                - 'null'
              maxLength: 40
              description: The color of the word being said. Default `#e74c3c`.
              example: '#e74c3c'
            stroke_color:
              type:
                - string
                - 'null'
              maxLength: 40
              description: The outline color. Default `rgba(0,0,0,1)`.
              example: rgba(0,0,0,1)
            max_length:
              type:
                - integer
                - 'null'
              minimum: 1
              maximum: 200
              description: The most characters on screen at once. Default 14.
              example: 14
        animation:
          type:
            - object
            - 'null'
          description: Camera moves and transitions.
          properties:
            set:
              type:
                - string
                - 'null'
              enum:
                - gentle
                - pronounced
                - null
              description: >-
                The animation set: `gentle` (default for `avatar`) or
                `pronounced` (default for `short`).
              example: gentle
            scene_animation:
              type:
                - string
                - 'null'
              maxLength: 40
              description: >
                Camera move on still pictures, or `none`. Both sets: `zoom_in`,
                `zoom_out`, `pan_left`, `pan_right`, `pan_up`, `pan_down`,
                `pan_left_up`, `pan_left_down`, `pan_right_up`,
                `pan_right_down`. `pronounced` adds `zoom_in_intense`,
                `zoom_out_intense`, `drift_left`, `drift_right`.
              example: zoom_in
            transition:
              type:
                - string
                - 'null'
              maxLength: 40
              description: >
                How each scene comes in, or `none`. Both sets: `slide_left`,
                `slide_right`, `slide_up`, `slide_down`, `scale`, `wipe_left`,
                `wipe_right`, `wipe_up`, `wipe_down`, `circular_wipe_center`,
                `circular_wipe_shockwave`, `spin_clockwise`,
                `spin_counterclockwise`, `flip_left`, `flip_right`. `pronounced`
                adds `scale_explosive`. `gentle` adds diagonal slides
                (`slide_left_up`...), `scale_larger`, directional scales
                (`scale_left`, `scale_x_axis_left`...), `rotate_slide_*`,
                `wipe_center_x`, `wipe_center_y`, `wipe_diagonal`,
                `wipe_rotating`, `circular_wipe_left`/`right`/`up`/`down`,
                `color_wipe_*`, `squash_*`, `hinge_left`, `hinge_right`, and
                `flip_up`, `flip_down` with diagonals. Other values get a `422`
                listing the valid ones.
              example: wipe_left
            transition_seconds:
              type:
                - number
                - 'null'
              minimum: 0.3
              maximum: 2
              description: How long each transition lasts.
              example: 0.6
        music:
          type:
            - object
            - 'null'
          description: >-
            Background music. It never fails the video. If it can't be made, the
            video has none and `music.error` says why.
          required:
            - source
          properties:
            source:
              type: string
              enum:
                - track
                - compose
                - brand
              description: >-
                `track`: a finished music track of the company. `compose`: a new
                instrumental as long as the video. `brand`: the company's brand
                sound.
              example: compose
            track_id:
              type:
                - integer
                - 'null'
              minimum: 1
              description: '`track`: the ID of a finished music track of this company.'
              example: 905
            prompt:
              type:
                - string
                - 'null'
              maxLength: 600
              description: '`compose`: what the music should sound like.'
              example: warm acoustic winter instrumental
            style_id:
              type:
                - integer
                - 'null'
              minimum: 1
              description: >-
                `compose`: one of the company's own music styles. Not with
                `builtin_style`.
              example: 31
            builtin_style:
              type:
                - string
                - 'null'
              maxLength: 40
              description: '`compose`: a built-in music style. Not with `style_id`.'
              example: lofi
            volume:
              type:
                - integer
                - 'null'
              minimum: 5
              maximum: 40
              description: The music's volume under the narration, in percent. Default 14.
              example: 14
    VideoProjectEstimate:
      type: object
      properties:
        credits:
          type: integer
          description: The whole video's estimate, music included.
          example: 392
        scenes:
          type: array
          description: How each scene would be made, in order.
          items:
            type: object
            properties:
              key:
                type: string
                description: The scene's key.
                example: intro
              engine:
                type:
                  - string
                  - 'null'
                description: Its engine. `null` for a still scene or one left out.
                example: heygen_avatar_6_turbo
              resolution:
                type:
                  - string
                  - 'null'
                description: Its resolution.
                example: 1080p
              credits:
                type: integer
                description: What its clip would cost.
                example: 240
              rerouted:
                type: boolean
                description: Whether it would use another engine or resolution than asked.
                example: false
              reason:
                type:
                  - string
                  - 'null'
                description: Why it isn't made as asked (see `VideoProjectScene.reason`).
                example: null
        music_credits:
          type: integer
          description: The composed music's cost (0 for a track you already have).
          example: 40
    VideoProject:
      type: object
      description: A video the server makes from start to finish, scene by scene.
      properties:
        id:
          type: integer
          description: The ID of the project.
          example: 3120
        company_id:
          type: integer
          description: The company it belongs to.
          example: 1287
        user_id:
          type:
            - integer
            - 'null'
          description: The user who started it.
          example: 5521
        kind:
          type: string
          enum:
            - avatar
            - short
          description: An avatar video or a short video.
          example: avatar
        title:
          type:
            - string
            - 'null'
          description: The project's name.
          example: Winter menu
        status:
          type: string
          enum:
            - queued
            - rendering
            - assembling
            - completed
            - failed
            - cancelled
          description: >-
            `queued`, `rendering` (clips and music), `assembling` (final cut),
            then `completed`, `failed` or `cancelled`.
          example: rendering
        active:
          type: boolean
          description: Still being made (`queued`, `rendering` or `assembling`).
          example: true
        error:
          type:
            - string
            - 'null'
          description: Why it failed, ready to show a person.
          example: null
        credits:
          type: object
          description: What it costs.
          properties:
            estimate:
              type: integer
              description: The whole video's estimate at start, music included.
              example: 392
            spent:
              type: integer
              description: Finished clips and composed music so far.
              example: 240
        output:
          type: object
          description: The size of the video.
          properties:
            width:
              type: integer
              description: Width in pixels.
              example: 1080
            height:
              type: integer
              description: Height in pixels.
              example: 1920
        frame_rate:
          type:
            - integer
            - 'null'
          description: Frames per second, when one was asked for.
          example: null
        scenes:
          type: array
          description: The scenes, in order.
          items:
            $ref: '#/components/schemas/VideoProjectScene'
        music:
          type:
            - object
            - 'null'
          description: The background music, when asked for.
          properties:
            source:
              type: string
              enum:
                - track
                - compose
                - brand
              description: What was asked for.
              example: compose
            mode:
              type: string
              enum:
                - track
                - compose
              description: 'What it came to: play a track, or compose one.'
              example: compose
            status:
              type: string
              enum:
                - queued
                - running
                - done
                - failed
              description: How far it got. `failed` leaves the video without music.
              example: running
            track_id:
              type:
                - integer
                - 'null'
              description: >-
                The track played or composed. Send it as `track_id` to reuse it
                free.
              example: 905
            engine:
              type:
                - string
                - 'null'
              description: The engine composing it.
              example: stable_audio_3
            seconds:
              type:
                - integer
                - 'null'
              description: The length of the composed track.
              example: 24
            volume:
              type: integer
              description: Its volume under the narration, in percent.
              example: 14
            credits:
              type: integer
              description: What the composed track costs.
              example: 40
            error:
              type:
                - string
                - 'null'
              description: Why there is no music, when there is none.
              example: null
            url:
              type:
                - string
                - 'null'
              description: The track's file, once it is done.
              example: null
        final:
          type:
            - object
            - 'null'
          description: The finished video, once the final cut started.
          properties:
            generation_id:
              type: integer
              description: The final video's AI result.
              example: 120074
            url:
              type:
                - string
                - 'null'
              description: The video's URL, once completed.
              example: >-
                https://cdn.followr.ai/files/aiResults/120074/videos/1b7d22c0.mp4
            media_id:
              type:
                - integer
                - 'null'
              description: The video's asset ID in the media library, to attach to posts.
              example: 66120
            library_error:
              type:
                - string
                - 'null'
              description: >-
                Why it couldn't be saved to the media library (for example, the
                library is full).
              example: null
        started_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When the first clip started (ISO 8601 with offset).
          example: '2026-12-15T09:30:05+00:00'
        finished_at:
          type:
            - string
            - 'null'
          format: date-time
          description: When it ended (ISO 8601 with offset).
          example: null
        deadline_at:
          type: string
          format: date-time
          description: >-
            When it fails if not finished, 45 minutes after creation (ISO 8601
            with offset).
          example: '2026-12-15T10:15:00+00:00'
        created_at:
          type: string
          format: date-time
          description: When it was created.
          example: '2026-12-15T09:30:00.000000Z'
        updated_at:
          type: string
          format: date-time
          description: When it last changed.
          example: '2026-12-15T09:34:20.000000Z'
    Error:
      type: object
      description: The body of every error response except validation errors.
      required:
        - message
      properties:
        message:
          type: string
          description: A human-readable explanation. Don't parse it; it may change.
          example: This action is unauthorized.
    ValidationError:
      type: object
      description: Returned with `422 Unprocessable Content` when the request isn't valid.
      required:
        - message
        - errors
      properties:
        message:
          type: string
          description: The first error, followed by a count of the others.
          example: The name field is required. (and 1 more error)
        errors:
          type: object
          description: >-
            Every invalid field, keyed by its path in the request
            (`rows.0.content` for nested fields), with one or more messages.
          additionalProperties:
            type: array
            items:
              type: string
          example:
            name:
              - The name field is required.
            publish_at:
              - The publish at field must be a valid date.
    VideoProjectSceneInput:
      type: object
      required:
        - key
        - type
        - picture_url
        - speech_url
        - speech_seconds
      properties:
        key:
          type: string
          maxLength: 64
          description: >-
            Your name for the scene, unique in the project. Scenes come back
            under it.
          example: intro
        type:
          type: string
          enum:
            - avatar
            - motion
            - still
          description: >
            `avatar`: a talking avatar says the speech. `motion`: the picture
            moves for as long as the speech lasts. `still`: the picture with a
            camera move, free.
          example: avatar
        picture_url:
          type: string
          description: The scene's picture. An HTTPS URL of a file stored by Followr.
          example: https://cdn.followr.ai/assets/2026/12/barista-portrait.png
        speech_url:
          type: string
          description: The narration. An HTTPS URL of an audio file stored by Followr.
          example: https://cdn.followr.ai/files/aiResults/120051/audios/5b7e2c11.mp3
        speech_seconds:
          type: number
          minimum: 0.3
          maximum: 300
          description: Narration length in seconds. Sets the scene's length and price.
          example: 12.4
        script:
          type:
            - string
            - 'null'
          maxLength: 2000
          description: The narration's words, kept as the clip's description.
          example: >-
            Our winter menu is here. Come in, warm up, and try the maple oat
            latte.
        avatar:
          type:
            - object
            - 'null'
          description: Required for `avatar` scenes.
          required:
            - engine
          properties:
            engine:
              type: string
              description: A talking-avatar engine ID from `GET /videoEngines`.
              example: heygen_avatar_6_turbo
            resolution:
              type:
                - string
                - 'null'
              maxLength: 10
              description: One of the engine's resolutions. Its default when left out.
              example: 1080p
            direction:
              type:
                - string
                - 'null'
              maxLength: 2000
              description: >-
                How to perform, on engines that take a direction. A natural
                default otherwise.
              example: Smiles and gestures toward the menu board.
            expressiveness:
              type:
                - string
                - 'null'
              enum:
                - default
                - less
                - null
              description: '`less` for a calmer delivery, on engines that take it.'
              example: default
        motion:
          type:
            - object
            - 'null'
          description: Required for `motion` scenes.
          required:
            - engine
          properties:
            engine:
              type: string
              description: A motion engine ID from `GET /videoEngines`.
              example: h3_max_turbo
            resolution:
              type:
                - string
                - 'null'
              maxLength: 10
              description: One of the engine's resolutions. Its default when left out.
              example: 768p
            prompt:
              type:
                - string
                - 'null'
              maxLength: 2000
              description: How the picture moves. A subtle push-in when left out.
              example: Steam rises from the cup while the camera slowly pushes in
        reuse_clip_url:
          type:
            - string
            - 'null'
          description: >-
            A clip made earlier for this scene (`scenes[].clip.url`). The scene
            is then free.
          example: null
    VideoProjectScene:
      type: object
      properties:
        key:
          type: string
          description: The key you gave the scene.
          example: intro
        type:
          type: string
          enum:
            - avatar
            - motion
            - still
          description: What you asked for.
          example: avatar
        renders_as:
          type: string
          enum:
            - avatar
            - motion
            - still
          description: What it shows. A motion scene whose clip failed shows its picture.
          example: avatar
        status:
          type: string
          enum:
            - queued
            - running
            - retrying
            - fallback
            - done
            - reused
            - still
            - skipped
            - cancelled
          description: >
            `queued`, `running`, `retrying`, `fallback`: waiting for a clip.
            `done`: clip made. `reused`: uses `reuse_clip_url`, free. `still`:
            shows its picture. `skipped`: left out (no avatar engine could make
            it). `cancelled`: the project stopped before its clip started.
          example: done
        engine:
          type:
            - string
            - 'null'
          description: The engine of its clip or current attempt.
          example: heygen_avatar_6_turbo
        resolution:
          type:
            - string
            - 'null'
          description: The resolution of its clip or current attempt.
          example: 1080p
        attempt:
          type: integer
          description: >-
            The planned attempt in progress, from 0 (later ones are fallback
            engines).
          example: 0
        tries:
          type: integer
          description: How many times the current attempt started.
          example: 1
        credits:
          type: integer
          description: Its planned clip's cost. 0 for still and reused scenes.
          example: 240
        rerouted:
          type: boolean
          description: Whether it uses another engine or resolution than you asked.
          example: false
        reason:
          type:
            - string
            - 'null'
          description: >-
            Why it is not made as asked: `engine_unavailable`,
            `audio_too_short`, `audio_too_long`, `resolution_limit`,
            `audio_out_of_range`, `unknown_engine`, or `reused`.
          example: null
        error:
          type:
            - string
            - 'null'
          description: What went wrong with its clip, ready to show a person.
          example: null
        generation_id:
          type:
            - integer
            - 'null'
          description: The AI result of the clip being made now.
          example: 120070
        picture_url:
          type:
            - string
            - 'null'
          description: The scene's picture.
          example: https://cdn.followr.ai/assets/2026/12/barista-portrait.png
        speech_seconds:
          type:
            - number
            - 'null'
          description: The length of its narration.
          example: 12.4
        clip:
          type:
            - object
            - 'null'
          description: Its clip, once made. Send `url` as `reuse_clip_url` to reuse it.
          properties:
            url:
              type: string
              format: uri
              description: The clip's URL.
              example: >-
                https://cdn.followr.ai/files/aiResults/120070/videos/c3a9e1f4.mp4
            seconds:
              type: number
              description: The clip's length.
              example: 12.4
            engine:
              type: string
              description: The engine that made it.
              example: heygen_avatar_6_turbo
            resolution:
              type:
                - string
                - 'null'
              description: Its resolution.
              example: 1080p
            generation_id:
              type:
                - integer
                - 'null'
              description: The AI result of the clip. `null` for a reused clip.
              example: 120070
    LimitError:
      type: object
      description: >
        Returned with `402 Payment Required` when the plan behind the request
        lacks a feature, or one of its usage ceilings is reached. `entity` names
        what's missing.
      required:
        - message
      properties:
        entity:
          type: string
          description: >
            What the plan lacks or has used up. Known values: `api`, `api_keys`,
            `api_posts`, `api_user_management`, `api_inbox`,
            `api_network_proxy`, `companies`, `users`, `words`, `images`,
            `premium_images`, `bytes`, `music`. New values may be added.
          example: api_posts
        feature:
          type: string
          description: >-
            Present when a whole feature is not in the plan (for example
            `music`).
          example: music
        message:
          type: string
          description: What happened and what to do, ready to show to a person.
          example: >-
            The monthly limit of 1,500 API posts of this plan is reached: 1,498
            used and this request needs 3. It starts again on 2026-12-14. Posts
            can still be scheduled and published in the app.
        limit:
          type: integer
          description: The ceiling that applies, when there is one.
          example: 1500
        used:
          type: integer
          description: How much of the ceiling is used in the current period.
          example: 1498
        needed:
          type: integer
          description: How much this request needs.
          example: 3
        renews_at:
          type: string
          format: date-time
          description: When the current period ends and the count restarts.
          example: '2026-12-14T00:00:00+00:00'
  responses:
    Unauthenticated:
      description: The API key is missing, malformed, expired or revoked.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missing:
              summary: No valid key
              value:
                message: Unauthenticated.
            revoked:
              summary: Revoked key
              value:
                message: Token revoked
    PaymentRequired:
      description: >-
        The plan behind the API key lacks this feature, or one of its limits is
        reached.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/LimitError'
          examples:
            limitReached:
              summary: Monthly API posts used up
              value:
                entity: api_posts
                message: >-
                  The monthly limit of 1,500 API posts of this plan is reached:
                  1,498 used and this request needs 3. It starts again on
                  2026-12-14. Posts can still be scheduled and published in the
                  app.
                limit: 1500
                used: 1498
                needed: 3
                renews_at: '2026-12-14T00:00:00+00:00'
            notInPlan:
              summary: Feature not in the plan
              value:
                feature: music
                entity: music
                message: >-
                  Music is not included in this plan. Songs, instrumentals,
                  lyrics, styles, masters and releases need it. Everything
                  already made can still be played, downloaded and deleted.
            creditsUsedUp:
              summary: Not enough credits
              value:
                entity: images
                message: >-
                  Your current subscription does not include the necessary
                  features to perform this action
    Forbidden:
      description: >-
        The key is valid, but its user may not do this (their role doesn't allow
        it, or the account is suspended).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: This action is unauthorized.
    NotFound:
      description: No resource with this ID, or it was deleted.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: No query results for model [App\Models\PostGroup] 99999999
    TooManyRequests:
      description: Too many requests in the last minute. Wait `Retry-After` seconds.
      headers:
        Retry-After:
          $ref: '#/components/headers/Retry-After'
        X-RateLimit-Limit:
          $ref: '#/components/headers/X-RateLimit-Limit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/X-RateLimit-Remaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/X-RateLimit-Reset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            message: Too Many Attempts.
  headers:
    Retry-After:
      description: Seconds to wait before retrying.
      schema:
        type: integer
        example: 42
    X-RateLimit-Limit:
      description: Requests allowed per minute for the key's user.
      schema:
        type: integer
        example: 200
    X-RateLimit-Remaining:
      description: Requests left in the current one-minute window.
      schema:
        type: integer
        example: 0
    X-RateLimit-Reset:
      description: Unix timestamp (seconds) when the current window resets.
      schema:
        type: integer
        example: 1764672060
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key
      description: >
        Send your API key in the `Authorization` header:


        ```

        Authorization: Bearer YOUR_API_KEY

        ```


        Create keys in the Followr app under **Settings > API keys**. A key acts
        as its user, with that user's role in each company.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.