> ## 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.

# Retrieve a video project

> Returns a video project. Poll every 10 seconds while `active` is `true`. It ends as:

- `completed`: `final.url` is the video, `final.media_id` its media library asset (or see `final.library_error`).
- `failed`: `error` says why. Finished clips stay in `scenes[].clip.url` for `reuse_clip_url`.
- `cancelled`: stopped with `POST /videoProjects/{id}/cancel`.




## OpenAPI

````yaml /api-reference/openapi.json get /videoProjects/{id}
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:
  /videoProjects/{id}:
    get:
      tags:
        - Video
      summary: Retrieve a video project
      description: >
        Returns a video project. Poll every 10 seconds while `active` is `true`.
        It ends as:


        - `completed`: `final.url` is the video, `final.media_id` its media
        library asset (or see `final.library_error`).

        - `failed`: `error` says why. Finished clips stay in `scenes[].clip.url`
        for `reuse_clip_url`.

        - `cancelled`: stopped with `POST /videoProjects/{id}/cancel`.
      operationId: getVideoProject
      parameters:
        - $ref: '#/components/parameters/VideoProjectId'
      responses:
        '200':
          description: The video project.
          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: rendering
                  active: true
                  error: null
                  credits:
                    estimate: 392
                    spent: 240
                  output:
                    width: 1080
                    height: 1920
                  frame_rate: null
                  scenes:
                    - key: intro
                      type: avatar
                      renders_as: avatar
                      status: done
                      engine: heygen_avatar_6_turbo
                      resolution: 1080p
                      attempt: 0
                      tries: 1
                      credits: 240
                      rerouted: false
                      reason: null
                      error: null
                      generation_id: 120070
                      picture_url: >-
                        https://cdn.followr.ai/assets/2026/12/barista-portrait.png
                      speech_seconds: 12.4
                      clip:
                        url: >-
                          https://cdn.followr.ai/files/aiResults/120070/videos/c3a9e1f4.mp4
                        seconds: 12.4
                        engine: heygen_avatar_6_turbo
                        resolution: 1080p
                        generation_id: 120070
                    - key: latte
                      type: motion
                      renders_as: motion
                      status: retrying
                      engine: h3_max_turbo
                      resolution: 768p
                      attempt: 0
                      tries: 1
                      credits: 112
                      rerouted: false
                      reason: null
                      error: the provider gave no reason
                      generation_id: null
                      picture_url: >-
                        https://cdn.followr.ai/files/aiResults/120044/images/0f1c9a2e.jpg
                      speech_seconds: 6.2
                      clip: null
                  music:
                    source: compose
                    mode: compose
                    status: running
                    track_id: 905
                    engine: stable_audio_3
                    seconds: 24
                    volume: 14
                    credits: 40
                    error: null
                    url: null
                  final: null
                  started_at: '2026-12-15T09:30:05+00:00'
                  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:34:20.000000Z'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    VideoProjectId:
      name: id
      in: path
      required: true
      description: The ID of the video project.
      schema:
        type: integer
        minimum: 1
      example: 3120
  schemas:
    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'
    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
    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.
  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
    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.