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

# List AI models

> Every model Followr offers for text, images, video, speech and music, with its price, sizes, lengths and what it takes. Prices are the ones that are charged.

- Without `company_id`, the list is the same for every account. It comes with an `ETag`: send it back in `If-None-Match` and you get `304` until a model or a price changes.
- With `company_id`, each model also says whether that company's plan may use it (`available`) and, if not, why.
- `aliases` maps retired model ids to the model that now answers for them.

Pass a model's `id` as `model` to the generation endpoints. Roles: all, clients included.




## OpenAPI

````yaml /api-reference/openapi.json get /aiModels
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:
  /aiModels:
    get:
      tags:
        - AI generation
      summary: List AI models
      description: >
        Every model Followr offers for text, images, video, speech and music,
        with its price, sizes, lengths and what it takes. Prices are the ones
        that are charged.


        - Without `company_id`, the list is the same for every account. It comes
        with an `ETag`: send it back in `If-None-Match` and you get `304` until
        a model or a price changes.

        - With `company_id`, each model also says whether that company's plan
        may use it (`available`) and, if not, why.

        - `aliases` maps retired model ids to the model that now answers for
        them.


        Pass a model's `id` as `model` to the generation endpoints. Roles: all,
        clients included.
      operationId: listAiModels
      parameters:
        - name: type
          in: query
          required: false
          description: Only models of this type.
          schema:
            type: string
            enum:
              - text
              - image
              - video
              - audio
              - music
          example: image
        - name: company_id
          in: query
          required: false
          description: Adds whether this company's plan may use each model.
          schema:
            type: integer
            minimum: 1
          example: 1287
      responses:
        '200':
          description: The models. The `ETag` header identifies this exact answer.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/AiModelCatalog'
              example:
                data:
                  version: 2de06a06e7e45f09
                  models:
                    - id: nano_banana_2_1
                      type: image
                      name: Nano Banana 2.1
                      full_name: Google Nano Banana 2.1
                      description: Professional-grade with superior detail
                      provider: Google
                      icon: google
                      driver: fal
                      driver_name: Fal
                      engine: null
                      pricing:
                        credits: 19
                        unit: image
                        balance: media
                        reference_credits: 2
                      sizes:
                        - '16:9'
                        - '5:4'
                        - '4:3'
                        - '3:2'
                        - '1:1'
                        - '2:3'
                        - '3:4'
                        - '4:5'
                        - '9:16'
                      durations: null
                      capabilities:
                        image_input: false
                        edit: true
                        max_input_images: 10
                        audio: false
                        english_prompts: false
                        colors: null
                        async: true
                      premium: false
                      labels:
                        - new
                        - best
                      roles:
                        - default_image
                        - pro_image
                        - creative_studio
                      hidden: false
                      available: true
                      unavailable_reason: null
                  aliases:
                    nano_banana_2: nano_banana_2_1
                    gpt-4o: gpt-6.1-sol
        '304':
          description: Not modified. The list is the one your `If-None-Match` names.
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '422':
          $ref: '#/components/responses/ValidationFailed'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  schemas:
    AiModelCatalog:
      type: object
      required:
        - version
        - models
        - aliases
      properties:
        version:
          type: string
          description: Changes whenever a model or a price does.
          example: 2de06a06e7e45f09
        models:
          type: array
          items:
            $ref: '#/components/schemas/AiModel'
        aliases:
          type: object
          description: Maps each retired model id to the model that now answers for it.
          additionalProperties:
            type: string
          example:
            nano_banana_2: nano_banana_2_1
    AiModel:
      type: object
      required:
        - id
        - type
        - name
        - full_name
        - provider
        - driver
        - pricing
        - capabilities
        - premium
        - labels
        - roles
        - hidden
      properties:
        id:
          type: string
          description: Pass it as `model` to the generation endpoints.
          example: nano_banana_2_1
        type:
          type: string
          enum:
            - text
            - image
            - video
            - audio
            - music
        name:
          type: string
          example: Nano Banana 2.1
        full_name:
          type: string
          example: Google Nano Banana 2.1
        description:
          type:
            - string
            - 'null'
          description: What it is good at.
        provider:
          type: string
          description: Who makes the model.
          example: Google
        icon:
          type:
            - string
            - 'null'
          description: The logo the Followr app shows for it.
          example: google
        driver:
          type: string
          description: The service Followr calls to run it.
          example: fal
        driver_name:
          type: string
          example: Fal
        engine:
          type:
            - string
            - 'null'
          enum:
            - avatar
            - motion
            - null
          description: >-
            Video engines only. `avatar` makes a talking video from a picture
            and a speech.
        pricing:
          $ref: '#/components/schemas/AiModelPricing'
        sizes:
          type:
            - array
            - 'null'
          description: Aspect ratios it makes.
          items:
            type: string
          example:
            - '1:1'
            - '16:9'
            - '9:16'
        durations:
          type:
            - array
            - 'null'
          description: Clip lengths it makes, in seconds.
          items:
            type: integer
        capabilities:
          type: object
          properties:
            image_input:
              type: boolean
              description: Video can start from a picture.
            edit:
              type: boolean
              description: Image takes reference pictures.
            max_input_images:
              type: integer
              description: How many reference pictures it takes.
            audio:
              type: boolean
              description: The clip or track has sound.
            english_prompts:
              type: boolean
              description: Works best with English prompts.
            colors:
              type:
                - string
                - 'null'
              description: Takes brand colors, in this format.
            async:
              type: boolean
              description: Answers at once with a `pending` result to poll.
            songs:
              type: boolean
              description: Music only. Makes songs with vocals.
            instrumentals:
              type: boolean
              description: Music only. Makes instrumentals.
        premium:
          type: boolean
          description: >
            Needs a plan with premium text or media, or the company's own key.
            On an image, it means each picture uses one of the plan's premium
            images when the plan has no premium media.
        labels:
          type: array
          items:
            type: string
            enum:
              - new
              - best
        roles:
          type: array
          description: Where the Followr app uses it by default.
          items:
            type: string
        hidden:
          type: boolean
          description: Offered by no picker.
        available:
          type: boolean
          description: Only with `company_id`. The company's plan may use it.
        unavailable_reason:
          type:
            - string
            - 'null'
          description: Only with `company_id`. Why it can't, ready to show to a person.
    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.
    AiModelPricing:
      type: object
      required:
        - credits
        - unit
        - balance
      properties:
        credits:
          type: number
          description: Credits per unit. For text, AI words per word written.
          example: 19
        unit:
          type: string
          enum:
            - word
            - image
            - clip
            - second
            - character
            - track
            - minute
          description: >
            What one charge covers. `second`: per second of clip (of speech, for
            an avatar engine). `minute`: per started minute.
        balance:
          type: string
          enum:
            - words
            - media
          description: AI words or AI media credits.
        reference_credits:
          type: integer
          description: Images only. Added per reference picture.
        default_resolution:
          type: string
          description: Video engines only. The resolution `credits` is for.
        by_resolution:
          type: object
          description: Video engines only. Credits per second at each resolution.
          additionalProperties:
            type: integer
        minimum:
          type: integer
          description: Music only. The fewest credits a track costs.
  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
    ValidationFailed:
      description: One or more fields are invalid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
    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.