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 infeatureCatalog 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.
Live pricing and caching
- Live configured rates:
pricingreflects the backend’s current active configuration at query time. There is no fixed price promised by examples in this documentation; always readpricing.cost,pricing.unitAmount,pricing.isPriced,pricing.creditCategories, andcreditScalefromfeatureCatalogbefore 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
versionto detect changes when refreshing in your client. - Lightweight drift detection header (
X-Feature-Catalog-Version): HTTP responses fromPOST /graphql(including unrelated queries, mutations, and GraphQL error responses) include anX-Feature-Catalog-Versionresponse header carrying the server’s currentfc-<16-hex>catalogversion. Cross-origin responses for allowed web origins expose this header throughAccess-Control-Expose-Headers: X-Feature-Catalog-Versionso browser clients can read it fromfetch()and trigger an immediatefeatureCatalogrefresh whenever the header differs from their cachedversion. Header attachment is fail-open: if the catalog version is transiently unavailable, the GraphQL response succeeds normally without the header. - Presigned icon URLs:
groups[].iconUrlmay carry a temporary signature that expires after ~24 hours. Refresh fromfeatureCatalograther than persisting signed icon URLs in long-term storage.