Skip to main content
The featureCatalog GraphQL query returns a single public snapshot of APOB’s user-facing generation features, purchasable offerings, surface availability, validation limits, audience defaults, media reference budgets, display groups, and live credit pricing. Use featureCatalog to discover supported quality/resolution combinations, validation bounds, and current configured rates at runtime instead of hardcoding pricing tables or tier matrices in your client.

Authentication and access

featureCatalog is public and requires no authentication. Guests, authenticated APOB API-key clients, and Firebase-authenticated sessions receive the exact same non-user-specific snapshot.
If you include an Authorization: Bearer apob_... header on a request to POST /graphql, the API-key filter authenticates that key first and fails closed with HTTP 401 if the key is invalid or revoked. Invalid API keys never fall back to anonymous or Firebase access. Omit the Authorization header when making unauthenticated catalog requests.

Query the catalog

cURL (no authentication required)

cURL

JavaScript

JavaScript

Response structure

FeatureCatalog

FeatureCatalogGroup

FeatureCatalogFeature

FeatureCatalogOffering

For image generation, editing, and cloning, the catalog advertises Fast at 2K, Ultra at 2K and 4K, and UltraS at 1K, 2K, and 4K.

FeatureCatalogOfferingPricing

For Lip Sync, clients that submit an explicit outputQuality can read the quality and resolution pairs from offerings with the desired surface. The Web surface summary keeps supportedResolutions at FHD so earlier clients can continue submitting Lip Sync by resolution alone. The ULTRA/FHD Web offering overrides the minimum source-audio duration to 1,000 ms. The base offering retains the 1 ms minimum used by API and MCP clients.

Forward-compatible string codes

Every code field in featureCatalog is typed as a plain GraphQL String rather than a GraphQL enum. APOB can add new features, quality tiers, resolutions, surfaces, billing units, or credit categories without causing enum deserialization failures in existing clients.
Treat all String code fields as open sets: ignore or fall back cleanly on unrecognized values instead of throwing on unknown codes, check surfaceSpec.audienceDefaults before selecting an audience entry (some surfaces return []), and resolve effective offering settings by layering surfaceSpec.limits -> offering.limits -> matching offering.surfaceOverrides[] (limits, mediaBudget, and capabilities).

Live pricing and caching

  • Live configured rates: pricing reflects the backend’s current active configuration at query time. There is no fixed price promised by examples in this documentation; always read pricing.cost, pricing.unitAmount, pricing.isPriced, pricing.creditCategories, and creditScale from featureCatalog before estimating credits. See Credits and billing for balance eligibility and post-task reconciliation.
  • Short-lived server cache: The server caches the snapshot in memory for up to 60 seconds and invalidates immediately on local pricing updates. Compare version to detect changes when refreshing in your client.
  • Lightweight drift detection header (X-Feature-Catalog-Version): HTTP responses from POST /graphql (including unrelated queries, mutations, and GraphQL error responses) include an X-Feature-Catalog-Version response header carrying the server’s current fc-<16-hex> catalog version. Cross-origin responses for allowed web origins expose this header through Access-Control-Expose-Headers: X-Feature-Catalog-Version so browser clients can read it from fetch() and trigger an immediate featureCatalog refresh whenever the header differs from their cached version. Header attachment is fail-open: if the catalog version is transiently unavailable, the GraphQL response succeeds normally without the header.
  • Presigned icon URLs: groups[].iconUrl may carry a temporary signature that expires after ~24 hours. Refresh from featureCatalog rather than persisting signed icon URLs in long-term storage.