Skip to main content
GET /api/models
Returns a list of all active AI models available for generation. Public endpoint, no authentication required.

Response

{ success: true, models: [...] }. Each model object contains:
id
string
The unique model identifier. Use this as modelId when generating.
name
string
Display name.
provider
string
Model provider family (e.g. OpenAI, Google, ByteDance, Midjourney). Display only — not a request parameter.
credits_per_generation
number
Credits per generation. For per-second-billed video models, refer to extra_config.pricingPerSec for the actual rate.
supported_ratios
string[]
Aspect ratios accepted by aspectRatio. Seedance additionally accepts "adaptive".
max_reference_images
number
Maximum number of reference images accepted (0 means the model does not accept references).
media_type
string
"image" or "video".
extra_config
object
Model-specific configuration. Keys you may rely on:
KeyUsed byDescription
resolutionsImage / videoAllowed values for resolution ("1K" / "2K" / "3K" / "4K" for image, "480p" / "720p" / "1080p" for video)
tiersSeedance 2.0Available speed tiers (fast / pro), selected via tier
durationsSeedance 2.0Allowed values for duration (seconds)
pricingPerSecSeedance 2.0Per-second rate, keyed by tier then resolution
pricingPerSecWithVideoSeedance 2.0Per-second rate with referenceVideo, keyed by tier then resolution
minBillableTableSeedance 2.0Minimum billable seconds keyed by duration (continuation only)
Other keys may appear; treat anything not listed above as informational and subject to change.

Example

curl https://www.meigen.ai/api/models
{
  "success": true,
  "models": [
    {
      "id": "gemini-3-pro-image-preview",
      "name": "Nanobanana Pro",
      "provider": "Google",
      "credits_per_generation": 10,
      "supported_ratios": ["1:1", "3:2", "2:3", "16:9", "9:16", "4:3", "3:4", "4:5", "5:4", "21:9"],
      "max_reference_images": 5,
      "media_type": "image",
      "extra_config": {}
    },
    {
      "id": "seedance-2-0",
      "name": "Seedance 2.0",
      "provider": "ByteDance",
      "credits_per_generation": 60,
      "supported_ratios": ["adaptive", "16:9", "4:3", "1:1", "3:4", "9:16", "21:9"],
      "max_reference_images": 2,
      "media_type": "video",
      "extra_config": {
        "tiers": ["fast", "pro"],
        "resolutions": ["480p", "720p", "1080p"],
        "durations": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]
      }
    }
  ]
}
Example shows two representative models. The live endpoint returns all active models. Response is briefly cached.