Documentation/Integration guide/Public model catalog
Integration guide

Public model catalog

Public catalog of seeded public models; query the live catalog, supported modalities, and credit consumption rates.

5 min read
•Updated October 21, 2026

Catalog Inspection Endpoints

GET /v1/models lists active models, modality classifications, task types, capabilities, and credit prices. GET /v1/models/{model_alias} retrieves metadata for a single model. Use returned aliases exactly as listed.

Seeded Public Models

The repository seed defines seven public models: photoreal-v1, anime-v1, motion-v1, voice-v1, transcribe-v1, persona-v1 and text-moderation-v1. The live catalog may differ because administrators can change models, availability and pricing. Use the returned modelAlias and creditsPerUnit; character creation has a separate characterCreationCredits price.

Dynamic Reservation & Auto-Refunds

Every model has strict schema enforcement and credit isolation. The platform dynamically reserves credits upon job dispatch, captures them on successful completion, and automatically refunds them on upstream failure.

Canonical Model Invocation

POST /v1/models/{model_alias}/invoke dispatches supported JSON requests through the corresponding modality handler. For speech-to-text, use POST /v1/audio/transcriptions with a multipart file upload. Do not assume invoke supports every catalog entry.

Code Implementation

import os
import time
import requests

BASE = "https://api.apimarketplace.com"
headers = {"Authorization": "Bearer " + os.environ["API_KEY"]}

def call(method, path, **kwargs):
    response = requests.request(method, BASE + path, headers=headers, timeout=300, **kwargs)
    response.raise_for_status()
    return response.json() if response.content else None

def wait(path, success):
    deadline = time.monotonic() + 900
    while time.monotonic() < deadline:
        result = call("GET", path)
        if result["status"] == success:
            return result
        if result["status"] == "failed":
            raise RuntimeError(result.get("errorMessage") or "Generation failed")
        time.sleep(3)
    raise TimeoutError("Still pending; keep the returned ID and check later")

result = call('GET', '/v1/models')
print(result)

for model in result:
    print(model["modelAlias"], model["creditsPerUnit"])