Skip to main content
GET
Retrieve a model

Authorizations

x-api-key
string
header
required

Your workspace API key, leap_.... Create one at https://app.tryleap.ai/go/api, and keep it on your server.

Path Parameters

creator
string
required

The first part of the model ID, such as black-forest-labs or leap.

name
string
required

The second part, such as flux-2-pro, or restore-photo@1 for a preset.

Response

The model and its input schema.

A model or preset with the JSON Schema of its input.

id
string
required

The ID to run it by: creator/name for a model, leap/name@N for a preset.

Maximum string length: 100
Pattern: ^[a-z0-9][a-z0-9-]*\/[a-z0-9][a-z0-9.-]*(@[1-9][0-9]{0,3})?$
object
string
required
Allowed value: "model"
type
enum<string>
required

model for a raw model, preset for a ready-made recipe built on one.

Available options:
model,
preset
name
string
required

Its display name.

creator
string
required

Who made it.

modality
enum<string>
required

What it makes: image, video, audio, 3d or text.

Available options:
image,
video,
audio,
3d,
text
tasks
enum<string>[]
required

What it does, main task first, such as text-to-image or image-to-video.

Available options:
text-to-image,
image-edit,
outpaint,
upscale-image,
remove-background,
try-on,
text-to-video,
image-to-video,
video-to-video,
upscale-video,
lip-sync,
talking-avatar,
text-to-speech,
voice-clone,
text-to-music,
sound-effects,
image-to-3d,
text-to-3d,
video-to-audio,
speech-to-speech,
motion-transfer,
speech-to-text,
captions
description
string
required

What it's good at, in a sentence.

revision
string
required

The date of its current schema and price.

Pattern: ^\d{4}-\d{2}-\d{2}$
version
integer | null
required

A preset's version, the N in @N; null for a model.

Required range: 0 < x <= 9007199254740991
latest
boolean
required

Whether a preset ID without @N runs this version. Always true for a model.

status
enum<string>
required

preview (may still change), stable, deprecated (runs until its sunset) or retired (doesn't run).

Available options:
preview,
stable,
deprecated,
retired
deprecation
object | null
required

When and why it's going away; null unless it's deprecated.

pricing
object
required
input_schema
object
required

A JSON Schema (2020-12) of the input it takes: required fields, types, allowed values and defaults. Unknown fields are refused, and a field that takes a file has the pattern ^file_[0-9A-Za-z]{24}$.

added
string
Pattern: ^\d{4}-\d{2}-\d{2}$
guide
object
cover
object
Last modified on October 4, 2026