Models
List
Create
Get Bulk
Retrieve
Update
Delete
Copy
Download
Delete Images
Update Tags
Transfer
ModelsExpand Collapse
ModelListResponse { id, capabilities, collectionIds, 36 more }
capabilities: Array<"3d23d" | "audio2audio" | "audio2txt" | 30 more>List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
Whether the model is a custom model and can be used only with POST /generate/custom/{modelId} endpoint
type: "custom" | "elevenlabs-voice" | "flux.1" | 28 moreThe model type (example: “flux.1-lora”)
The model type (example: “flux.1-lora”)
accessRestrictions?: 0 | 100 | 25 | 2 moreThe access restrictions of the model
0: Free plan
25: Creator plan
50: Pro plan
75: Team plan
100: Enterprise plan
The access restrictions of the model 0: Free plan 25: Creator plan 50: Pro plan 75: Team plan 100: Enterprise plan
class?: Class { category, conceptPrompt, modelId, 5 more } The class of the model
The class of the model
List of base model IDs compliant with the model (example: [“flux.1-dev”, “flux.1-schnell”]) This attribute is mainly used for Flux LoRA models
concepts?: Array<Concept>The concepts is required for the type model: composition
The concepts is required for the type model: composition
When true, credits spent on a generation with this model are not automatically refunded if the generation fails. Absent or false means failed generations are refunded as usual.
The epoch of the model. Only available for Flux Lora Trained models. If not set, uses the final model epoch (latest)
inputs?: Array<Input>The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The allowed values for the input. For `string` or `number` types, creates a single-select dropdown. For `string_array` type, creates a multi-select dropdown.
backgroundBehavior?: "opaque" | "transparent"Specifies the background behavior for the input. Only available for `file` and `file_array`
input types with kind `image`.
Specifies the background behavior for the input. Only available for `file` and `file_array` input types with kind `image`.
Used to visually group inputs together in the UI. Inputs with the same group value appear consecutively in the UI.
The list of inputs which form an object within a container array. All inputs are the same as the current object. This is only available for type inputs_array inputs.
kind?: "3d" | "audio" | "document" | 5 moreThe asset kind of the input. Only taken into account for `file` and `file_array` input types.
If model provides multiple kinds,
the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The asset kind of the input. Only taken into account for `file` and `file_array` input types. If model provides multiple kinds, the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The maximum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The maximum allowed length for `string` inputs. Also applies to each item in `string_array`.
The maximum allowed file size in bytes. Only applies to `file` and `file_array` input types. Validated against `asset.properties.size` at job creation time.
The minimum allowed length for string inputs. Also applies to each item in `string_array`.
modelTypes?: Array<"custom" | "elevenlabs-voice" | "flux.1" | 28 more>The allowed model types for this input. Example: `[“flux.1-lora”]`.
Only available for `model_array` input type.
The allowed model types for this input. Example: `[“flux.1-lora”]`. Only available for `model_array` input type.
Whether this input represents a parent asset to assign to the produced assets. Only available for `file` and `file_array` input types.
For `file_array`, the parent asset is the first item in the array.
Whether the input is a prompt. When true, displays as a text area with prompt spark feature. Only available for `string` input type.
Whether the input is used with prompt spark. Only available for `string` input type.
required?: Required { always, conditionalValues, ifDefined, ifNotDefined } Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Makes this input required when another input has a specific value:
- Key: name of the input to check
- Value: operation and allowed values that trigger the requirement
The model keyword, this is a legacy parameter, please use conceptPrompt in parameters
parameters?: Parameters { age, batchSize, classPrompt, 29 more } The parameters of the model
The parameters of the model
Age group of the voice (for professional cloning)
Only available for ElevenLabs voice training
The batch size Less steps, and will increase the learning rate
Only available for Flux LoRA training
The prompt to specify images in the same class as provided instance images
Deprecated legacy training parameter.
Type of voice cloning: “instant” (fast) or “professional” (higher quality, requires captcha)
Only available for ElevenLabs voice training
The prompt with identifier specifying the instance (or subject) of the class (example: “a daiton dog”)
Default value varies depending on the model type. For Flux LoRA, the default is an empty string.
Gender of the voice (for professional cloning)
Only available for ElevenLabs voice training
Language of the audio samples (ISO 639-1 code)
Only available for ElevenLabs voice training
Initial learning rate (after the potential warmup period)
Default value varies depending on the model type. For Flux LoRA, the default is 0.0001.
Initial learning rate (after the potential warmup period) for the text encoder
Maximum [Flux LoRA: 0.001] Default [Flux LoRA: 0.00001] Minimum [Flux LoRA: 0.000001]
Initial learning rate (after the potential warmup period) for the UNet
Deprecated legacy training parameter.
lrScheduler?: "constant" | "constant-with-warmup" | "cosine" | 3 moreThe scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
The scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
Maximum number of training steps to execute (default: varies depending on the model type)
Default value varies depending on the model type:
- For Flux: number of training images * 100
Maximum value varies depending on the model type:
- For Flux: [0, 10000]
The number of epochs to train for
Only available for Flux LoRA training
The number of times to repeat the training
Only available for Flux LoRA training
The number of training steps for the text encoder
Deprecated legacy training parameter.
The number of training steps for the UNet
Deprecated legacy training parameter.
Optimize the model training task for a specific type of input images. The available values are:
- “likeness”: optimize training for likeness or portrait (targets specific transformer blocks)
- “all”: train all transformer blocks
- “none”: train no specific transformer blocks
This parameter controls which double and single transformer blocks are trained during the LoRA training process.
Only available for Flux LoRA training
The weight of prior preservation loss
Deprecated legacy training parameter.
Whether to random crop or center crop images before resizing to the working resolution
Deprecated legacy training parameter.
The dimension of the LoRA update matrices
Only available for Flux LoRA and Musubi training
Default value varies depending on the model type:
- For Flux: 16
- For Musubi: 64
Each trainer enforces its own tighter limit (Flux LoRA: [2; 64], Musubi: [2; 128])
Whether to remove background noise from audio samples before cloning. When enabled, each sample must be at least 5 seconds long.
Only available for ElevenLabs voice training
The prompts to use for each epoch Only available for Flux LoRA training
The sample prompt images (AssetIds) paired with samplePrompts Only available for Flux LoRA training Must be the same length as samplePrompts
Whether to scale the learning rate
Note: Legacy parameter, will be ignored
Deprecated legacy training parameter.
Used to reproduce previous results. Default: randomly generated number.
Deprecated legacy training parameter.
Whether to train the text encoder or not
Example: For 100 steps and a value of 0.2, it means that the text encoder will be trained for 20 steps and then the UNet for 80 steps
Note: Legacy parameter, please use numTextTrainSteps and numUNetTrainSteps
Deprecated legacy training parameter.
Validation frequency. Cannot be greater than maxTrainSteps value
Deprecated legacy training parameter.
performanceStats?: PerformanceStats { variants, default } Aggregated performance stats
Aggregated performance stats
The model short description (example: “This model generates highly detailed cinematic scenes.”)
trainingImages?: Array<TrainingImage>The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
trainingProgress?: TrainingProgress { stage, updatedAt, captchaImageUrl, 6 more } Additional information about the training progress of the model
Additional information about the training progress of the model
Signed URL of the captcha image to read aloud during PVC voice cloning. Only present when stage === ‘pending-captcha’. Overwritten on each retry.
Position of the job in the queue (ie. the number of job in the queue before this one)
Last recoverable failure message during PVC. Present when the model has bounced back to stage === ‘ready-for-captcha’ after a step 2 or step 3 failure (e.g. captcha rejected, time limit exceeded). Surface above the retry button so the user understands why they’re back here.
trainingStats?: TrainingStats { endedAt, queueDuration, startedAt, trainDuration } Additional information about the model’s training
Additional information about the model’s training
uiConfig?: UiConfig { inputProperties, lorasComponent, presets, 3 more } The UI configuration for the model
The UI configuration for the model
lorasComponent?: LorasComponent { label, modelInput, scaleInput, modelIdInput } Configuration for the loras component
Configuration for the loras component
resolutionComponent?: ResolutionComponent { heightInput, label, presets, widthInput } Configuration for the resolution component
Configuration for the resolution component
ModelCreateResponse { model }
model: Model { id, capabilities, collectionIds, 36 more }
capabilities: Array<"3d23d" | "audio2audio" | "audio2txt" | 30 more>List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
Whether the model is a custom model and can be used only with POST /generate/custom/{modelId} endpoint
type: "custom" | "elevenlabs-voice" | "flux.1" | 28 moreThe model type (example: “flux.1-lora”)
The model type (example: “flux.1-lora”)
accessRestrictions?: 0 | 100 | 25 | 2 moreThe access restrictions of the model
0: Free plan
25: Creator plan
50: Pro plan
75: Team plan
100: Enterprise plan
The access restrictions of the model 0: Free plan 25: Creator plan 50: Pro plan 75: Team plan 100: Enterprise plan
class?: Class { category, conceptPrompt, modelId, 5 more } The class of the model
The class of the model
List of base model IDs compliant with the model (example: [“flux.1-dev”, “flux.1-schnell”]) This attribute is mainly used for Flux LoRA models
concepts?: Array<Concept>The concepts is required for the type model: composition
The concepts is required for the type model: composition
When true, credits spent on a generation with this model are not automatically refunded if the generation fails. Absent or false means failed generations are refunded as usual.
The epoch of the model. Only available for Flux Lora Trained models. If not set, uses the final model epoch (latest)
inputs?: Array<Input>The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The allowed values for the input. For `string` or `number` types, creates a single-select dropdown. For `string_array` type, creates a multi-select dropdown.
backgroundBehavior?: "opaque" | "transparent"Specifies the background behavior for the input. Only available for `file` and `file_array`
input types with kind `image`.
Specifies the background behavior for the input. Only available for `file` and `file_array` input types with kind `image`.
Used to visually group inputs together in the UI. Inputs with the same group value appear consecutively in the UI.
The list of inputs which form an object within a container array. All inputs are the same as the current object. This is only available for type inputs_array inputs.
kind?: "3d" | "audio" | "document" | 5 moreThe asset kind of the input. Only taken into account for `file` and `file_array` input types.
If model provides multiple kinds,
the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The asset kind of the input. Only taken into account for `file` and `file_array` input types. If model provides multiple kinds, the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The maximum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The maximum allowed length for `string` inputs. Also applies to each item in `string_array`.
The maximum allowed file size in bytes. Only applies to `file` and `file_array` input types. Validated against `asset.properties.size` at job creation time.
The minimum allowed length for string inputs. Also applies to each item in `string_array`.
modelTypes?: Array<"custom" | "elevenlabs-voice" | "flux.1" | 28 more>The allowed model types for this input. Example: `[“flux.1-lora”]`.
Only available for `model_array` input type.
The allowed model types for this input. Example: `[“flux.1-lora”]`. Only available for `model_array` input type.
Whether this input represents a parent asset to assign to the produced assets. Only available for `file` and `file_array` input types.
For `file_array`, the parent asset is the first item in the array.
Whether the input is a prompt. When true, displays as a text area with prompt spark feature. Only available for `string` input type.
Whether the input is used with prompt spark. Only available for `string` input type.
required?: Required { always, conditionalValues, ifDefined, ifNotDefined } Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Makes this input required when another input has a specific value:
- Key: name of the input to check
- Value: operation and allowed values that trigger the requirement
The model keyword, this is a legacy parameter, please use conceptPrompt in parameters
parameters?: Parameters { age, batchSize, classPrompt, 29 more } The parameters of the model
The parameters of the model
Age group of the voice (for professional cloning)
Only available for ElevenLabs voice training
The batch size Less steps, and will increase the learning rate
Only available for Flux LoRA training
The prompt to specify images in the same class as provided instance images
Deprecated legacy training parameter.
Type of voice cloning: “instant” (fast) or “professional” (higher quality, requires captcha)
Only available for ElevenLabs voice training
The prompt with identifier specifying the instance (or subject) of the class (example: “a daiton dog”)
Default value varies depending on the model type. For Flux LoRA, the default is an empty string.
Gender of the voice (for professional cloning)
Only available for ElevenLabs voice training
Language of the audio samples (ISO 639-1 code)
Only available for ElevenLabs voice training
Initial learning rate (after the potential warmup period)
Default value varies depending on the model type. For Flux LoRA, the default is 0.0001.
Initial learning rate (after the potential warmup period) for the text encoder
Maximum [Flux LoRA: 0.001] Default [Flux LoRA: 0.00001] Minimum [Flux LoRA: 0.000001]
Initial learning rate (after the potential warmup period) for the UNet
Deprecated legacy training parameter.
lrScheduler?: "constant" | "constant-with-warmup" | "cosine" | 3 moreThe scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
The scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
Maximum number of training steps to execute (default: varies depending on the model type)
Default value varies depending on the model type:
- For Flux: number of training images * 100
Maximum value varies depending on the model type:
- For Flux: [0, 10000]
The number of epochs to train for
Only available for Flux LoRA training
The number of times to repeat the training
Only available for Flux LoRA training
The number of training steps for the text encoder
Deprecated legacy training parameter.
The number of training steps for the UNet
Deprecated legacy training parameter.
Optimize the model training task for a specific type of input images. The available values are:
- “likeness”: optimize training for likeness or portrait (targets specific transformer blocks)
- “all”: train all transformer blocks
- “none”: train no specific transformer blocks
This parameter controls which double and single transformer blocks are trained during the LoRA training process.
Only available for Flux LoRA training
The weight of prior preservation loss
Deprecated legacy training parameter.
Whether to random crop or center crop images before resizing to the working resolution
Deprecated legacy training parameter.
The dimension of the LoRA update matrices
Only available for Flux LoRA and Musubi training
Default value varies depending on the model type:
- For Flux: 16
- For Musubi: 64
Each trainer enforces its own tighter limit (Flux LoRA: [2; 64], Musubi: [2; 128])
Whether to remove background noise from audio samples before cloning. When enabled, each sample must be at least 5 seconds long.
Only available for ElevenLabs voice training
The prompts to use for each epoch Only available for Flux LoRA training
The sample prompt images (AssetIds) paired with samplePrompts Only available for Flux LoRA training Must be the same length as samplePrompts
Whether to scale the learning rate
Note: Legacy parameter, will be ignored
Deprecated legacy training parameter.
Used to reproduce previous results. Default: randomly generated number.
Deprecated legacy training parameter.
Whether to train the text encoder or not
Example: For 100 steps and a value of 0.2, it means that the text encoder will be trained for 20 steps and then the UNet for 80 steps
Note: Legacy parameter, please use numTextTrainSteps and numUNetTrainSteps
Deprecated legacy training parameter.
Validation frequency. Cannot be greater than maxTrainSteps value
Deprecated legacy training parameter.
performanceStats?: PerformanceStats { variants, default } Aggregated performance stats
Aggregated performance stats
The model short description (example: “This model generates highly detailed cinematic scenes.”)
trainingImages?: Array<TrainingImage>The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
trainingProgress?: TrainingProgress { stage, updatedAt, captchaImageUrl, 6 more } Additional information about the training progress of the model
Additional information about the training progress of the model
Signed URL of the captcha image to read aloud during PVC voice cloning. Only present when stage === ‘pending-captcha’. Overwritten on each retry.
Position of the job in the queue (ie. the number of job in the queue before this one)
Last recoverable failure message during PVC. Present when the model has bounced back to stage === ‘ready-for-captcha’ after a step 2 or step 3 failure (e.g. captcha rejected, time limit exceeded). Surface above the retry button so the user understands why they’re back here.
trainingStats?: TrainingStats { endedAt, queueDuration, startedAt, trainDuration } Additional information about the model’s training
Additional information about the model’s training
uiConfig?: UiConfig { inputProperties, lorasComponent, presets, 3 more } The UI configuration for the model
The UI configuration for the model
lorasComponent?: LorasComponent { label, modelInput, scaleInput, modelIdInput } Configuration for the loras component
Configuration for the loras component
resolutionComponent?: ResolutionComponent { heightInput, label, presets, widthInput } Configuration for the resolution component
Configuration for the resolution component
ModelGetBulkResponse { models }
models: Array<Model>
type: "custom" | "elevenlabs-voice" | "flux.1" | 28 moreThe model type (example: “flux.1-lora”)
The model type (example: “flux.1-lora”)
accessRestrictions?: 0 | 100 | 25 | 2 moreThe access restrictions of the model
0: Free plan
25: Creator plan
50: Pro plan
75: Team plan
100: Enterprise plan
The access restrictions of the model 0: Free plan 25: Creator plan 50: Pro plan 75: Team plan 100: Enterprise plan
capabilities?: Array<"3d23d" | "audio2audio" | "audio2txt" | 30 more>List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
class?: Class { category, conceptPrompt, modelId, 5 more } The class of the model
The class of the model
List of base model IDs compliant with the model (example: [“flux.1-dev”, “flux.1-schnell”]) This attribute is mainly used for Flux LoRA models
concepts?: Array<Concept>The concepts is required for the type model: composition
The concepts is required for the type model: composition
Whether the model is a custom model and can be used only with POST /generate/custom/{modelId} endpoint
When true, credits spent on a generation with this model are not automatically refunded if the generation fails. Absent or false means failed generations are refunded as usual.
The epoch of the model. Only available for Flux Lora Trained models. If not set, uses the final model epoch (latest)
inputs?: Array<Input>The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The allowed values for the input. For `string` or `number` types, creates a single-select dropdown. For `string_array` type, creates a multi-select dropdown.
backgroundBehavior?: "opaque" | "transparent"Specifies the background behavior for the input. Only available for `file` and `file_array`
input types with kind `image`.
Specifies the background behavior for the input. Only available for `file` and `file_array` input types with kind `image`.
Used to visually group inputs together in the UI. Inputs with the same group value appear consecutively in the UI.
The list of inputs which form an object within a container array. All inputs are the same as the current object. This is only available for type inputs_array inputs.
kind?: "3d" | "audio" | "document" | 5 moreThe asset kind of the input. Only taken into account for `file` and `file_array` input types.
If model provides multiple kinds,
the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The asset kind of the input. Only taken into account for `file` and `file_array` input types. If model provides multiple kinds, the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The maximum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The maximum allowed length for `string` inputs. Also applies to each item in `string_array`.
The maximum allowed file size in bytes. Only applies to `file` and `file_array` input types. Validated against `asset.properties.size` at job creation time.
The minimum allowed length for string inputs. Also applies to each item in `string_array`.
modelTypes?: Array<"custom" | "elevenlabs-voice" | "flux.1" | 28 more>The allowed model types for this input. Example: `[“flux.1-lora”]`.
Only available for `model_array` input type.
The allowed model types for this input. Example: `[“flux.1-lora”]`. Only available for `model_array` input type.
Whether this input represents a parent asset to assign to the produced assets. Only available for `file` and `file_array` input types.
For `file_array`, the parent asset is the first item in the array.
Whether the input is a prompt. When true, displays as a text area with prompt spark feature. Only available for `string` input type.
Whether the input is used with prompt spark. Only available for `string` input type.
required?: Required { always, conditionalValues, ifDefined, ifNotDefined } Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Makes this input required when another input has a specific value:
- Key: name of the input to check
- Value: operation and allowed values that trigger the requirement
The model keyword, this is a legacy parameter, please use conceptPrompt in parameters
parameters?: Parameters { age, batchSize, classPrompt, 29 more } The parameters of the model
The parameters of the model
Age group of the voice (for professional cloning)
Only available for ElevenLabs voice training
The batch size Less steps, and will increase the learning rate
Only available for Flux LoRA training
The prompt to specify images in the same class as provided instance images
Deprecated legacy training parameter.
Type of voice cloning: “instant” (fast) or “professional” (higher quality, requires captcha)
Only available for ElevenLabs voice training
The prompt with identifier specifying the instance (or subject) of the class (example: “a daiton dog”)
Default value varies depending on the model type. For Flux LoRA, the default is an empty string.
Gender of the voice (for professional cloning)
Only available for ElevenLabs voice training
Language of the audio samples (ISO 639-1 code)
Only available for ElevenLabs voice training
Initial learning rate (after the potential warmup period)
Default value varies depending on the model type. For Flux LoRA, the default is 0.0001.
Initial learning rate (after the potential warmup period) for the text encoder
Maximum [Flux LoRA: 0.001] Default [Flux LoRA: 0.00001] Minimum [Flux LoRA: 0.000001]
Initial learning rate (after the potential warmup period) for the UNet
Deprecated legacy training parameter.
lrScheduler?: "constant" | "constant-with-warmup" | "cosine" | 3 moreThe scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
The scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
Maximum number of training steps to execute (default: varies depending on the model type)
Default value varies depending on the model type:
- For Flux: number of training images * 100
Maximum value varies depending on the model type:
- For Flux: [0, 10000]
The number of epochs to train for
Only available for Flux LoRA training
The number of times to repeat the training
Only available for Flux LoRA training
The number of training steps for the text encoder
Deprecated legacy training parameter.
The number of training steps for the UNet
Deprecated legacy training parameter.
Optimize the model training task for a specific type of input images. The available values are:
- “likeness”: optimize training for likeness or portrait (targets specific transformer blocks)
- “all”: train all transformer blocks
- “none”: train no specific transformer blocks
This parameter controls which double and single transformer blocks are trained during the LoRA training process.
Only available for Flux LoRA training
The weight of prior preservation loss
Deprecated legacy training parameter.
Whether to random crop or center crop images before resizing to the working resolution
Deprecated legacy training parameter.
The dimension of the LoRA update matrices
Only available for Flux LoRA and Musubi training
Default value varies depending on the model type:
- For Flux: 16
- For Musubi: 64
Each trainer enforces its own tighter limit (Flux LoRA: [2; 64], Musubi: [2; 128])
Whether to remove background noise from audio samples before cloning. When enabled, each sample must be at least 5 seconds long.
Only available for ElevenLabs voice training
The prompts to use for each epoch Only available for Flux LoRA training
The sample prompt images (AssetIds) paired with samplePrompts Only available for Flux LoRA training Must be the same length as samplePrompts
Whether to scale the learning rate
Note: Legacy parameter, will be ignored
Deprecated legacy training parameter.
Used to reproduce previous results. Default: randomly generated number.
Deprecated legacy training parameter.
Whether to train the text encoder or not
Example: For 100 steps and a value of 0.2, it means that the text encoder will be trained for 20 steps and then the UNet for 80 steps
Note: Legacy parameter, please use numTextTrainSteps and numUNetTrainSteps
Deprecated legacy training parameter.
Validation frequency. Cannot be greater than maxTrainSteps value
Deprecated legacy training parameter.
performanceStats?: PerformanceStats { variants, default } Aggregated performance stats
Aggregated performance stats
The model short description (example: “This model generates highly detailed cinematic scenes.”)
trainingImages?: Array<TrainingImage>The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
trainingProgress?: TrainingProgress { stage, updatedAt, captchaImageUrl, 6 more } Additional information about the training progress of the model
Additional information about the training progress of the model
Signed URL of the captcha image to read aloud during PVC voice cloning. Only present when stage === ‘pending-captcha’. Overwritten on each retry.
Position of the job in the queue (ie. the number of job in the queue before this one)
Last recoverable failure message during PVC. Present when the model has bounced back to stage === ‘ready-for-captcha’ after a step 2 or step 3 failure (e.g. captcha rejected, time limit exceeded). Surface above the retry button so the user understands why they’re back here.
trainingStats?: TrainingStats { endedAt, queueDuration, startedAt, trainDuration } Additional information about the model’s training
Additional information about the model’s training
uiConfig?: UiConfig { inputProperties, lorasComponent, presets, 3 more } The UI configuration for the model
The UI configuration for the model
lorasComponent?: LorasComponent { label, modelInput, scaleInput, modelIdInput } Configuration for the loras component
Configuration for the loras component
resolutionComponent?: ResolutionComponent { heightInput, label, presets, widthInput } Configuration for the resolution component
Configuration for the resolution component
ModelRetrieveResponse { model }
model: Model { id, capabilities, collectionIds, 36 more }
capabilities: Array<"3d23d" | "audio2audio" | "audio2txt" | 30 more>List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
Whether the model is a custom model and can be used only with POST /generate/custom/{modelId} endpoint
type: "custom" | "elevenlabs-voice" | "flux.1" | 28 moreThe model type (example: “flux.1-lora”)
The model type (example: “flux.1-lora”)
accessRestrictions?: 0 | 100 | 25 | 2 moreThe access restrictions of the model
0: Free plan
25: Creator plan
50: Pro plan
75: Team plan
100: Enterprise plan
The access restrictions of the model 0: Free plan 25: Creator plan 50: Pro plan 75: Team plan 100: Enterprise plan
class?: Class { category, conceptPrompt, modelId, 5 more } The class of the model
The class of the model
List of base model IDs compliant with the model (example: [“flux.1-dev”, “flux.1-schnell”]) This attribute is mainly used for Flux LoRA models
concepts?: Array<Concept>The concepts is required for the type model: composition
The concepts is required for the type model: composition
When true, credits spent on a generation with this model are not automatically refunded if the generation fails. Absent or false means failed generations are refunded as usual.
The epoch of the model. Only available for Flux Lora Trained models. If not set, uses the final model epoch (latest)
inputs?: Array<Input>The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The allowed values for the input. For `string` or `number` types, creates a single-select dropdown. For `string_array` type, creates a multi-select dropdown.
backgroundBehavior?: "opaque" | "transparent"Specifies the background behavior for the input. Only available for `file` and `file_array`
input types with kind `image`.
Specifies the background behavior for the input. Only available for `file` and `file_array` input types with kind `image`.
Used to visually group inputs together in the UI. Inputs with the same group value appear consecutively in the UI.
The list of inputs which form an object within a container array. All inputs are the same as the current object. This is only available for type inputs_array inputs.
kind?: "3d" | "audio" | "document" | 5 moreThe asset kind of the input. Only taken into account for `file` and `file_array` input types.
If model provides multiple kinds,
the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The asset kind of the input. Only taken into account for `file` and `file_array` input types. If model provides multiple kinds, the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The maximum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The maximum allowed length for `string` inputs. Also applies to each item in `string_array`.
The maximum allowed file size in bytes. Only applies to `file` and `file_array` input types. Validated against `asset.properties.size` at job creation time.
The minimum allowed length for string inputs. Also applies to each item in `string_array`.
modelTypes?: Array<"custom" | "elevenlabs-voice" | "flux.1" | 28 more>The allowed model types for this input. Example: `[“flux.1-lora”]`.
Only available for `model_array` input type.
The allowed model types for this input. Example: `[“flux.1-lora”]`. Only available for `model_array` input type.
Whether this input represents a parent asset to assign to the produced assets. Only available for `file` and `file_array` input types.
For `file_array`, the parent asset is the first item in the array.
Whether the input is a prompt. When true, displays as a text area with prompt spark feature. Only available for `string` input type.
Whether the input is used with prompt spark. Only available for `string` input type.
required?: Required { always, conditionalValues, ifDefined, ifNotDefined } Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Makes this input required when another input has a specific value:
- Key: name of the input to check
- Value: operation and allowed values that trigger the requirement
The model keyword, this is a legacy parameter, please use conceptPrompt in parameters
parameters?: Parameters { age, batchSize, classPrompt, 29 more } The parameters of the model
The parameters of the model
Age group of the voice (for professional cloning)
Only available for ElevenLabs voice training
The batch size Less steps, and will increase the learning rate
Only available for Flux LoRA training
The prompt to specify images in the same class as provided instance images
Deprecated legacy training parameter.
Type of voice cloning: “instant” (fast) or “professional” (higher quality, requires captcha)
Only available for ElevenLabs voice training
The prompt with identifier specifying the instance (or subject) of the class (example: “a daiton dog”)
Default value varies depending on the model type. For Flux LoRA, the default is an empty string.
Gender of the voice (for professional cloning)
Only available for ElevenLabs voice training
Language of the audio samples (ISO 639-1 code)
Only available for ElevenLabs voice training
Initial learning rate (after the potential warmup period)
Default value varies depending on the model type. For Flux LoRA, the default is 0.0001.
Initial learning rate (after the potential warmup period) for the text encoder
Maximum [Flux LoRA: 0.001] Default [Flux LoRA: 0.00001] Minimum [Flux LoRA: 0.000001]
Initial learning rate (after the potential warmup period) for the UNet
Deprecated legacy training parameter.
lrScheduler?: "constant" | "constant-with-warmup" | "cosine" | 3 moreThe scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
The scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
Maximum number of training steps to execute (default: varies depending on the model type)
Default value varies depending on the model type:
- For Flux: number of training images * 100
Maximum value varies depending on the model type:
- For Flux: [0, 10000]
The number of epochs to train for
Only available for Flux LoRA training
The number of times to repeat the training
Only available for Flux LoRA training
The number of training steps for the text encoder
Deprecated legacy training parameter.
The number of training steps for the UNet
Deprecated legacy training parameter.
Optimize the model training task for a specific type of input images. The available values are:
- “likeness”: optimize training for likeness or portrait (targets specific transformer blocks)
- “all”: train all transformer blocks
- “none”: train no specific transformer blocks
This parameter controls which double and single transformer blocks are trained during the LoRA training process.
Only available for Flux LoRA training
The weight of prior preservation loss
Deprecated legacy training parameter.
Whether to random crop or center crop images before resizing to the working resolution
Deprecated legacy training parameter.
The dimension of the LoRA update matrices
Only available for Flux LoRA and Musubi training
Default value varies depending on the model type:
- For Flux: 16
- For Musubi: 64
Each trainer enforces its own tighter limit (Flux LoRA: [2; 64], Musubi: [2; 128])
Whether to remove background noise from audio samples before cloning. When enabled, each sample must be at least 5 seconds long.
Only available for ElevenLabs voice training
The prompts to use for each epoch Only available for Flux LoRA training
The sample prompt images (AssetIds) paired with samplePrompts Only available for Flux LoRA training Must be the same length as samplePrompts
Whether to scale the learning rate
Note: Legacy parameter, will be ignored
Deprecated legacy training parameter.
Used to reproduce previous results. Default: randomly generated number.
Deprecated legacy training parameter.
Whether to train the text encoder or not
Example: For 100 steps and a value of 0.2, it means that the text encoder will be trained for 20 steps and then the UNet for 80 steps
Note: Legacy parameter, please use numTextTrainSteps and numUNetTrainSteps
Deprecated legacy training parameter.
Validation frequency. Cannot be greater than maxTrainSteps value
Deprecated legacy training parameter.
performanceStats?: PerformanceStats { variants, default } Aggregated performance stats
Aggregated performance stats
The model short description (example: “This model generates highly detailed cinematic scenes.”)
trainingImages?: Array<TrainingImage>The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
trainingProgress?: TrainingProgress { stage, updatedAt, captchaImageUrl, 6 more } Additional information about the training progress of the model
Additional information about the training progress of the model
Signed URL of the captcha image to read aloud during PVC voice cloning. Only present when stage === ‘pending-captcha’. Overwritten on each retry.
Position of the job in the queue (ie. the number of job in the queue before this one)
Last recoverable failure message during PVC. Present when the model has bounced back to stage === ‘ready-for-captcha’ after a step 2 or step 3 failure (e.g. captcha rejected, time limit exceeded). Surface above the retry button so the user understands why they’re back here.
trainingStats?: TrainingStats { endedAt, queueDuration, startedAt, trainDuration } Additional information about the model’s training
Additional information about the model’s training
uiConfig?: UiConfig { inputProperties, lorasComponent, presets, 3 more } The UI configuration for the model
The UI configuration for the model
lorasComponent?: LorasComponent { label, modelInput, scaleInput, modelIdInput } Configuration for the loras component
Configuration for the loras component
resolutionComponent?: ResolutionComponent { heightInput, label, presets, widthInput } Configuration for the resolution component
Configuration for the resolution component
ModelUpdateResponse { model }
model: Model { id, capabilities, collectionIds, 36 more }
capabilities: Array<"3d23d" | "audio2audio" | "audio2txt" | 30 more>List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
Whether the model is a custom model and can be used only with POST /generate/custom/{modelId} endpoint
type: "custom" | "elevenlabs-voice" | "flux.1" | 28 moreThe model type (example: “flux.1-lora”)
The model type (example: “flux.1-lora”)
accessRestrictions?: 0 | 100 | 25 | 2 moreThe access restrictions of the model
0: Free plan
25: Creator plan
50: Pro plan
75: Team plan
100: Enterprise plan
The access restrictions of the model 0: Free plan 25: Creator plan 50: Pro plan 75: Team plan 100: Enterprise plan
class?: Class { category, conceptPrompt, modelId, 5 more } The class of the model
The class of the model
List of base model IDs compliant with the model (example: [“flux.1-dev”, “flux.1-schnell”]) This attribute is mainly used for Flux LoRA models
concepts?: Array<Concept>The concepts is required for the type model: composition
The concepts is required for the type model: composition
When true, credits spent on a generation with this model are not automatically refunded if the generation fails. Absent or false means failed generations are refunded as usual.
The epoch of the model. Only available for Flux Lora Trained models. If not set, uses the final model epoch (latest)
inputs?: Array<Input>The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The allowed values for the input. For `string` or `number` types, creates a single-select dropdown. For `string_array` type, creates a multi-select dropdown.
backgroundBehavior?: "opaque" | "transparent"Specifies the background behavior for the input. Only available for `file` and `file_array`
input types with kind `image`.
Specifies the background behavior for the input. Only available for `file` and `file_array` input types with kind `image`.
Used to visually group inputs together in the UI. Inputs with the same group value appear consecutively in the UI.
The list of inputs which form an object within a container array. All inputs are the same as the current object. This is only available for type inputs_array inputs.
kind?: "3d" | "audio" | "document" | 5 moreThe asset kind of the input. Only taken into account for `file` and `file_array` input types.
If model provides multiple kinds,
the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The asset kind of the input. Only taken into account for `file` and `file_array` input types. If model provides multiple kinds, the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The maximum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The maximum allowed length for `string` inputs. Also applies to each item in `string_array`.
The maximum allowed file size in bytes. Only applies to `file` and `file_array` input types. Validated against `asset.properties.size` at job creation time.
The minimum allowed length for string inputs. Also applies to each item in `string_array`.
modelTypes?: Array<"custom" | "elevenlabs-voice" | "flux.1" | 28 more>The allowed model types for this input. Example: `[“flux.1-lora”]`.
Only available for `model_array` input type.
The allowed model types for this input. Example: `[“flux.1-lora”]`. Only available for `model_array` input type.
Whether this input represents a parent asset to assign to the produced assets. Only available for `file` and `file_array` input types.
For `file_array`, the parent asset is the first item in the array.
Whether the input is a prompt. When true, displays as a text area with prompt spark feature. Only available for `string` input type.
Whether the input is used with prompt spark. Only available for `string` input type.
required?: Required { always, conditionalValues, ifDefined, ifNotDefined } Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Makes this input required when another input has a specific value:
- Key: name of the input to check
- Value: operation and allowed values that trigger the requirement
The model keyword, this is a legacy parameter, please use conceptPrompt in parameters
parameters?: Parameters { age, batchSize, classPrompt, 29 more } The parameters of the model
The parameters of the model
Age group of the voice (for professional cloning)
Only available for ElevenLabs voice training
The batch size Less steps, and will increase the learning rate
Only available for Flux LoRA training
The prompt to specify images in the same class as provided instance images
Deprecated legacy training parameter.
Type of voice cloning: “instant” (fast) or “professional” (higher quality, requires captcha)
Only available for ElevenLabs voice training
The prompt with identifier specifying the instance (or subject) of the class (example: “a daiton dog”)
Default value varies depending on the model type. For Flux LoRA, the default is an empty string.
Gender of the voice (for professional cloning)
Only available for ElevenLabs voice training
Language of the audio samples (ISO 639-1 code)
Only available for ElevenLabs voice training
Initial learning rate (after the potential warmup period)
Default value varies depending on the model type. For Flux LoRA, the default is 0.0001.
Initial learning rate (after the potential warmup period) for the text encoder
Maximum [Flux LoRA: 0.001] Default [Flux LoRA: 0.00001] Minimum [Flux LoRA: 0.000001]
Initial learning rate (after the potential warmup period) for the UNet
Deprecated legacy training parameter.
lrScheduler?: "constant" | "constant-with-warmup" | "cosine" | 3 moreThe scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
The scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
Maximum number of training steps to execute (default: varies depending on the model type)
Default value varies depending on the model type:
- For Flux: number of training images * 100
Maximum value varies depending on the model type:
- For Flux: [0, 10000]
The number of epochs to train for
Only available for Flux LoRA training
The number of times to repeat the training
Only available for Flux LoRA training
The number of training steps for the text encoder
Deprecated legacy training parameter.
The number of training steps for the UNet
Deprecated legacy training parameter.
Optimize the model training task for a specific type of input images. The available values are:
- “likeness”: optimize training for likeness or portrait (targets specific transformer blocks)
- “all”: train all transformer blocks
- “none”: train no specific transformer blocks
This parameter controls which double and single transformer blocks are trained during the LoRA training process.
Only available for Flux LoRA training
The weight of prior preservation loss
Deprecated legacy training parameter.
Whether to random crop or center crop images before resizing to the working resolution
Deprecated legacy training parameter.
The dimension of the LoRA update matrices
Only available for Flux LoRA and Musubi training
Default value varies depending on the model type:
- For Flux: 16
- For Musubi: 64
Each trainer enforces its own tighter limit (Flux LoRA: [2; 64], Musubi: [2; 128])
Whether to remove background noise from audio samples before cloning. When enabled, each sample must be at least 5 seconds long.
Only available for ElevenLabs voice training
The prompts to use for each epoch Only available for Flux LoRA training
The sample prompt images (AssetIds) paired with samplePrompts Only available for Flux LoRA training Must be the same length as samplePrompts
Whether to scale the learning rate
Note: Legacy parameter, will be ignored
Deprecated legacy training parameter.
Used to reproduce previous results. Default: randomly generated number.
Deprecated legacy training parameter.
Whether to train the text encoder or not
Example: For 100 steps and a value of 0.2, it means that the text encoder will be trained for 20 steps and then the UNet for 80 steps
Note: Legacy parameter, please use numTextTrainSteps and numUNetTrainSteps
Deprecated legacy training parameter.
Validation frequency. Cannot be greater than maxTrainSteps value
Deprecated legacy training parameter.
performanceStats?: PerformanceStats { variants, default } Aggregated performance stats
Aggregated performance stats
The model short description (example: “This model generates highly detailed cinematic scenes.”)
trainingImages?: Array<TrainingImage>The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
trainingProgress?: TrainingProgress { stage, updatedAt, captchaImageUrl, 6 more } Additional information about the training progress of the model
Additional information about the training progress of the model
Signed URL of the captcha image to read aloud during PVC voice cloning. Only present when stage === ‘pending-captcha’. Overwritten on each retry.
Position of the job in the queue (ie. the number of job in the queue before this one)
Last recoverable failure message during PVC. Present when the model has bounced back to stage === ‘ready-for-captcha’ after a step 2 or step 3 failure (e.g. captcha rejected, time limit exceeded). Surface above the retry button so the user understands why they’re back here.
trainingStats?: TrainingStats { endedAt, queueDuration, startedAt, trainDuration } Additional information about the model’s training
Additional information about the model’s training
uiConfig?: UiConfig { inputProperties, lorasComponent, presets, 3 more } The UI configuration for the model
The UI configuration for the model
lorasComponent?: LorasComponent { label, modelInput, scaleInput, modelIdInput } Configuration for the loras component
Configuration for the loras component
resolutionComponent?: ResolutionComponent { heightInput, label, presets, widthInput } Configuration for the resolution component
Configuration for the resolution component
ModelCopyResponse { model }
model: Model { id, capabilities, collectionIds, 36 more }
capabilities: Array<"3d23d" | "audio2audio" | "audio2txt" | 30 more>List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
Whether the model is a custom model and can be used only with POST /generate/custom/{modelId} endpoint
type: "custom" | "elevenlabs-voice" | "flux.1" | 28 moreThe model type (example: “flux.1-lora”)
The model type (example: “flux.1-lora”)
accessRestrictions?: 0 | 100 | 25 | 2 moreThe access restrictions of the model
0: Free plan
25: Creator plan
50: Pro plan
75: Team plan
100: Enterprise plan
The access restrictions of the model 0: Free plan 25: Creator plan 50: Pro plan 75: Team plan 100: Enterprise plan
class?: Class { category, conceptPrompt, modelId, 5 more } The class of the model
The class of the model
List of base model IDs compliant with the model (example: [“flux.1-dev”, “flux.1-schnell”]) This attribute is mainly used for Flux LoRA models
concepts?: Array<Concept>The concepts is required for the type model: composition
The concepts is required for the type model: composition
When true, credits spent on a generation with this model are not automatically refunded if the generation fails. Absent or false means failed generations are refunded as usual.
The epoch of the model. Only available for Flux Lora Trained models. If not set, uses the final model epoch (latest)
inputs?: Array<Input>The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The allowed values for the input. For `string` or `number` types, creates a single-select dropdown. For `string_array` type, creates a multi-select dropdown.
backgroundBehavior?: "opaque" | "transparent"Specifies the background behavior for the input. Only available for `file` and `file_array`
input types with kind `image`.
Specifies the background behavior for the input. Only available for `file` and `file_array` input types with kind `image`.
Used to visually group inputs together in the UI. Inputs with the same group value appear consecutively in the UI.
The list of inputs which form an object within a container array. All inputs are the same as the current object. This is only available for type inputs_array inputs.
kind?: "3d" | "audio" | "document" | 5 moreThe asset kind of the input. Only taken into account for `file` and `file_array` input types.
If model provides multiple kinds,
the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The asset kind of the input. Only taken into account for `file` and `file_array` input types. If model provides multiple kinds, the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The maximum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The maximum allowed length for `string` inputs. Also applies to each item in `string_array`.
The maximum allowed file size in bytes. Only applies to `file` and `file_array` input types. Validated against `asset.properties.size` at job creation time.
The minimum allowed length for string inputs. Also applies to each item in `string_array`.
modelTypes?: Array<"custom" | "elevenlabs-voice" | "flux.1" | 28 more>The allowed model types for this input. Example: `[“flux.1-lora”]`.
Only available for `model_array` input type.
The allowed model types for this input. Example: `[“flux.1-lora”]`. Only available for `model_array` input type.
Whether this input represents a parent asset to assign to the produced assets. Only available for `file` and `file_array` input types.
For `file_array`, the parent asset is the first item in the array.
Whether the input is a prompt. When true, displays as a text area with prompt spark feature. Only available for `string` input type.
Whether the input is used with prompt spark. Only available for `string` input type.
required?: Required { always, conditionalValues, ifDefined, ifNotDefined } Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Makes this input required when another input has a specific value:
- Key: name of the input to check
- Value: operation and allowed values that trigger the requirement
The model keyword, this is a legacy parameter, please use conceptPrompt in parameters
parameters?: Parameters { age, batchSize, classPrompt, 29 more } The parameters of the model
The parameters of the model
Age group of the voice (for professional cloning)
Only available for ElevenLabs voice training
The batch size Less steps, and will increase the learning rate
Only available for Flux LoRA training
The prompt to specify images in the same class as provided instance images
Deprecated legacy training parameter.
Type of voice cloning: “instant” (fast) or “professional” (higher quality, requires captcha)
Only available for ElevenLabs voice training
The prompt with identifier specifying the instance (or subject) of the class (example: “a daiton dog”)
Default value varies depending on the model type. For Flux LoRA, the default is an empty string.
Gender of the voice (for professional cloning)
Only available for ElevenLabs voice training
Language of the audio samples (ISO 639-1 code)
Only available for ElevenLabs voice training
Initial learning rate (after the potential warmup period)
Default value varies depending on the model type. For Flux LoRA, the default is 0.0001.
Initial learning rate (after the potential warmup period) for the text encoder
Maximum [Flux LoRA: 0.001] Default [Flux LoRA: 0.00001] Minimum [Flux LoRA: 0.000001]
Initial learning rate (after the potential warmup period) for the UNet
Deprecated legacy training parameter.
lrScheduler?: "constant" | "constant-with-warmup" | "cosine" | 3 moreThe scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
The scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
Maximum number of training steps to execute (default: varies depending on the model type)
Default value varies depending on the model type:
- For Flux: number of training images * 100
Maximum value varies depending on the model type:
- For Flux: [0, 10000]
The number of epochs to train for
Only available for Flux LoRA training
The number of times to repeat the training
Only available for Flux LoRA training
The number of training steps for the text encoder
Deprecated legacy training parameter.
The number of training steps for the UNet
Deprecated legacy training parameter.
Optimize the model training task for a specific type of input images. The available values are:
- “likeness”: optimize training for likeness or portrait (targets specific transformer blocks)
- “all”: train all transformer blocks
- “none”: train no specific transformer blocks
This parameter controls which double and single transformer blocks are trained during the LoRA training process.
Only available for Flux LoRA training
The weight of prior preservation loss
Deprecated legacy training parameter.
Whether to random crop or center crop images before resizing to the working resolution
Deprecated legacy training parameter.
The dimension of the LoRA update matrices
Only available for Flux LoRA and Musubi training
Default value varies depending on the model type:
- For Flux: 16
- For Musubi: 64
Each trainer enforces its own tighter limit (Flux LoRA: [2; 64], Musubi: [2; 128])
Whether to remove background noise from audio samples before cloning. When enabled, each sample must be at least 5 seconds long.
Only available for ElevenLabs voice training
The prompts to use for each epoch Only available for Flux LoRA training
The sample prompt images (AssetIds) paired with samplePrompts Only available for Flux LoRA training Must be the same length as samplePrompts
Whether to scale the learning rate
Note: Legacy parameter, will be ignored
Deprecated legacy training parameter.
Used to reproduce previous results. Default: randomly generated number.
Deprecated legacy training parameter.
Whether to train the text encoder or not
Example: For 100 steps and a value of 0.2, it means that the text encoder will be trained for 20 steps and then the UNet for 80 steps
Note: Legacy parameter, please use numTextTrainSteps and numUNetTrainSteps
Deprecated legacy training parameter.
Validation frequency. Cannot be greater than maxTrainSteps value
Deprecated legacy training parameter.
performanceStats?: PerformanceStats { variants, default } Aggregated performance stats
Aggregated performance stats
The model short description (example: “This model generates highly detailed cinematic scenes.”)
trainingImages?: Array<TrainingImage>The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
trainingProgress?: TrainingProgress { stage, updatedAt, captchaImageUrl, 6 more } Additional information about the training progress of the model
Additional information about the training progress of the model
Signed URL of the captcha image to read aloud during PVC voice cloning. Only present when stage === ‘pending-captcha’. Overwritten on each retry.
Position of the job in the queue (ie. the number of job in the queue before this one)
Last recoverable failure message during PVC. Present when the model has bounced back to stage === ‘ready-for-captcha’ after a step 2 or step 3 failure (e.g. captcha rejected, time limit exceeded). Surface above the retry button so the user understands why they’re back here.
trainingStats?: TrainingStats { endedAt, queueDuration, startedAt, trainDuration } Additional information about the model’s training
Additional information about the model’s training
uiConfig?: UiConfig { inputProperties, lorasComponent, presets, 3 more } The UI configuration for the model
The UI configuration for the model
lorasComponent?: LorasComponent { label, modelInput, scaleInput, modelIdInput } Configuration for the loras component
Configuration for the loras component
resolutionComponent?: ResolutionComponent { heightInput, label, presets, widthInput } Configuration for the resolution component
Configuration for the resolution component
ModelTransferResponse { model }
model: Model { id, capabilities, collectionIds, 36 more }
capabilities: Array<"3d23d" | "audio2audio" | "audio2txt" | 30 more>List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
List of model capabilities (example: [“txt2img”, “img2img”, “txt2img_ip_adapter”, …])
Whether the model is a custom model and can be used only with POST /generate/custom/{modelId} endpoint
type: "custom" | "elevenlabs-voice" | "flux.1" | 28 moreThe model type (example: “flux.1-lora”)
The model type (example: “flux.1-lora”)
accessRestrictions?: 0 | 100 | 25 | 2 moreThe access restrictions of the model
0: Free plan
25: Creator plan
50: Pro plan
75: Team plan
100: Enterprise plan
The access restrictions of the model 0: Free plan 25: Creator plan 50: Pro plan 75: Team plan 100: Enterprise plan
class?: Class { category, conceptPrompt, modelId, 5 more } The class of the model
The class of the model
List of base model IDs compliant with the model (example: [“flux.1-dev”, “flux.1-schnell”]) This attribute is mainly used for Flux LoRA models
concepts?: Array<Concept>The concepts is required for the type model: composition
The concepts is required for the type model: composition
When true, credits spent on a generation with this model are not automatically refunded if the generation fails. Absent or false means failed generations are refunded as usual.
The epoch of the model. Only available for Flux Lora Trained models. If not set, uses the final model epoch (latest)
inputs?: Array<Input>The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The inputs of the model. Only used for custom models. To retrieve this list, get it by modelId with GET /models/{modelId}
The allowed values for the input. For `string` or `number` types, creates a single-select dropdown. For `string_array` type, creates a multi-select dropdown.
backgroundBehavior?: "opaque" | "transparent"Specifies the background behavior for the input. Only available for `file` and `file_array`
input types with kind `image`.
Specifies the background behavior for the input. Only available for `file` and `file_array` input types with kind `image`.
Used to visually group inputs together in the UI. Inputs with the same group value appear consecutively in the UI.
The list of inputs which form an object within a container array. All inputs are the same as the current object. This is only available for type inputs_array inputs.
kind?: "3d" | "audio" | "document" | 5 moreThe asset kind of the input. Only taken into account for `file` and `file_array` input types.
If model provides multiple kinds,
the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The asset kind of the input. Only taken into account for `file` and `file_array` input types. If model provides multiple kinds, the input will be not able to create the asset on the flight on API side with dataurl without data:kind, prefix
The maximum allowed media duration in seconds. Only applies to `file` and `file_array` input types for video and audio assets. Validated against `asset.properties.duration` at job creation time.
The maximum allowed length for `string` inputs. Also applies to each item in `string_array`.
The maximum allowed file size in bytes. Only applies to `file` and `file_array` input types. Validated against `asset.properties.size` at job creation time.
The minimum allowed length for string inputs. Also applies to each item in `string_array`.
modelTypes?: Array<"custom" | "elevenlabs-voice" | "flux.1" | 28 more>The allowed model types for this input. Example: `[“flux.1-lora”]`.
Only available for `model_array` input type.
The allowed model types for this input. Example: `[“flux.1-lora”]`. Only available for `model_array` input type.
Whether this input represents a parent asset to assign to the produced assets. Only available for `file` and `file_array` input types.
For `file_array`, the parent asset is the first item in the array.
Whether the input is a prompt. When true, displays as a text area with prompt spark feature. Only available for `string` input type.
Whether the input is used with prompt spark. Only available for `string` input type.
required?: Required { always, conditionalValues, ifDefined, ifNotDefined } Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Set of rules that describes when this input is required:
- `always`: Input is always required
- `ifNotDefined`: Input is required when another specified input is not defined
- `ifDefined`: Input is required when another specified input is defined
- `conditionalValues`: Input is required when another input has a specific value
By default, the input is not required.
Makes this input required when another input has a specific value:
- Key: name of the input to check
- Value: operation and allowed values that trigger the requirement
The model keyword, this is a legacy parameter, please use conceptPrompt in parameters
parameters?: Parameters { age, batchSize, classPrompt, 29 more } The parameters of the model
The parameters of the model
Age group of the voice (for professional cloning)
Only available for ElevenLabs voice training
The batch size Less steps, and will increase the learning rate
Only available for Flux LoRA training
The prompt to specify images in the same class as provided instance images
Deprecated legacy training parameter.
Type of voice cloning: “instant” (fast) or “professional” (higher quality, requires captcha)
Only available for ElevenLabs voice training
The prompt with identifier specifying the instance (or subject) of the class (example: “a daiton dog”)
Default value varies depending on the model type. For Flux LoRA, the default is an empty string.
Gender of the voice (for professional cloning)
Only available for ElevenLabs voice training
Language of the audio samples (ISO 639-1 code)
Only available for ElevenLabs voice training
Initial learning rate (after the potential warmup period)
Default value varies depending on the model type. For Flux LoRA, the default is 0.0001.
Initial learning rate (after the potential warmup period) for the text encoder
Maximum [Flux LoRA: 0.001] Default [Flux LoRA: 0.00001] Minimum [Flux LoRA: 0.000001]
Initial learning rate (after the potential warmup period) for the UNet
Deprecated legacy training parameter.
lrScheduler?: "constant" | "constant-with-warmup" | "cosine" | 3 moreThe scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
The scheduler type to use (default: “constant”)
Deprecated legacy training parameter.
Maximum number of training steps to execute (default: varies depending on the model type)
Default value varies depending on the model type:
- For Flux: number of training images * 100
Maximum value varies depending on the model type:
- For Flux: [0, 10000]
The number of epochs to train for
Only available for Flux LoRA training
The number of times to repeat the training
Only available for Flux LoRA training
The number of training steps for the text encoder
Deprecated legacy training parameter.
The number of training steps for the UNet
Deprecated legacy training parameter.
Optimize the model training task for a specific type of input images. The available values are:
- “likeness”: optimize training for likeness or portrait (targets specific transformer blocks)
- “all”: train all transformer blocks
- “none”: train no specific transformer blocks
This parameter controls which double and single transformer blocks are trained during the LoRA training process.
Only available for Flux LoRA training
The weight of prior preservation loss
Deprecated legacy training parameter.
Whether to random crop or center crop images before resizing to the working resolution
Deprecated legacy training parameter.
The dimension of the LoRA update matrices
Only available for Flux LoRA and Musubi training
Default value varies depending on the model type:
- For Flux: 16
- For Musubi: 64
Each trainer enforces its own tighter limit (Flux LoRA: [2; 64], Musubi: [2; 128])
Whether to remove background noise from audio samples before cloning. When enabled, each sample must be at least 5 seconds long.
Only available for ElevenLabs voice training
The prompts to use for each epoch Only available for Flux LoRA training
The sample prompt images (AssetIds) paired with samplePrompts Only available for Flux LoRA training Must be the same length as samplePrompts
Whether to scale the learning rate
Note: Legacy parameter, will be ignored
Deprecated legacy training parameter.
Used to reproduce previous results. Default: randomly generated number.
Deprecated legacy training parameter.
Whether to train the text encoder or not
Example: For 100 steps and a value of 0.2, it means that the text encoder will be trained for 20 steps and then the UNet for 80 steps
Note: Legacy parameter, please use numTextTrainSteps and numUNetTrainSteps
Deprecated legacy training parameter.
Validation frequency. Cannot be greater than maxTrainSteps value
Deprecated legacy training parameter.
performanceStats?: PerformanceStats { variants, default } Aggregated performance stats
Aggregated performance stats
The model short description (example: “This model generates highly detailed cinematic scenes.”)
trainingImages?: Array<TrainingImage>The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
The URLs of the first 3 training images of the model. To retrieve the full set of images, get it by modelId
trainingProgress?: TrainingProgress { stage, updatedAt, captchaImageUrl, 6 more } Additional information about the training progress of the model
Additional information about the training progress of the model
Signed URL of the captcha image to read aloud during PVC voice cloning. Only present when stage === ‘pending-captcha’. Overwritten on each retry.
Position of the job in the queue (ie. the number of job in the queue before this one)
Last recoverable failure message during PVC. Present when the model has bounced back to stage === ‘ready-for-captcha’ after a step 2 or step 3 failure (e.g. captcha rejected, time limit exceeded). Surface above the retry button so the user understands why they’re back here.
trainingStats?: TrainingStats { endedAt, queueDuration, startedAt, trainDuration } Additional information about the model’s training
Additional information about the model’s training
uiConfig?: UiConfig { inputProperties, lorasComponent, presets, 3 more } The UI configuration for the model
The UI configuration for the model
lorasComponent?: LorasComponent { label, modelInput, scaleInput, modelIdInput } Configuration for the loras component
Configuration for the loras component
resolutionComponent?: ResolutionComponent { heightInput, label, presets, widthInput } Configuration for the resolution component
Configuration for the resolution component
ModelsDescription
Retrieve
Update
ModelsExpand Collapse
DescriptionRetrieveResponse { description }
description: Description { assets, models, value }
assets: Array<Asset>The list of assets referenced by the Markdown {asset} tag in the description.
The list of assets referenced by the Markdown {asset} tag in the description.
The owner (project) ID (example: “proj_23tlk332lkht3kl2” or “team_dlkhgs23tlk3hlkth32lkht3kl2” for old teams)
properties: Properties { size, animationFrameCount, bitrate, 26 more } The properties of the asset, content may depend on the kind of asset returned
The properties of the asset, content may depend on the kind of asset returned
cameraMode?: "aerial" | "interior" | "turntable"Recommended preview camera mode emitted by the generator (gsplat route);
passed through to mesh-rendering verbatim.
Recommended preview camera mode emitted by the generator (gsplat route); passed through to mesh-rendering verbatim.
cameraTrajectory?: Array<CameraTrajectory>Recommended preview camera path emitted by the generator (gsplat route);
passed through to mesh-rendering verbatim.
Recommended preview camera path emitted by the generator (gsplat route); passed through to mesh-rendering verbatim.
Number of Unicode code points in the text. Code-point-aware (so a non-BMP emoji counts as 1) but not full grapheme-cluster aware (a ZWJ sequence still counts as several).
True when preview holds the entire content unmodified — consumers can
use it directly without fetching asset.url. False or undefined means
the content exceeds the preview budget and consumers must fetch the
full body from S3 to read past the preview.
Leading slice of the content used for inline UI display and as a search shortcut. Capped at TEXT_PREVIEW_MAX_BYTES (UTF-8) and always cut on a code-point boundary so no character is split. Number of characters in the preview varies by script (around 1024 for ASCII, ~340 for CJK, ~256 for emoji-heavy text at the default 1 KB budget).
The original file url.
Contains the url of the original file. without any conversion. Only available for some specific video, audio and threeD assets. Is only specified if the given asset data has been replaced with a new file during the creation of the asset.
DescriptionUpdateResponse { description }
description: Description { assets, models, value }
assets: Array<Asset>The list of assets referenced by the Markdown {asset} tag in the description.
The list of assets referenced by the Markdown {asset} tag in the description.
The owner (project) ID (example: “proj_23tlk332lkht3kl2” or “team_dlkhgs23tlk3hlkth32lkht3kl2” for old teams)
properties: Properties { size, animationFrameCount, bitrate, 26 more } The properties of the asset, content may depend on the kind of asset returned
The properties of the asset, content may depend on the kind of asset returned
cameraMode?: "aerial" | "interior" | "turntable"Recommended preview camera mode emitted by the generator (gsplat route);
passed through to mesh-rendering verbatim.
Recommended preview camera mode emitted by the generator (gsplat route); passed through to mesh-rendering verbatim.
cameraTrajectory?: Array<CameraTrajectory>Recommended preview camera path emitted by the generator (gsplat route);
passed through to mesh-rendering verbatim.
Recommended preview camera path emitted by the generator (gsplat route); passed through to mesh-rendering verbatim.
Number of Unicode code points in the text. Code-point-aware (so a non-BMP emoji counts as 1) but not full grapheme-cluster aware (a ZWJ sequence still counts as several).
True when preview holds the entire content unmodified — consumers can
use it directly without fetching asset.url. False or undefined means
the content exceeds the preview budget and consumers must fetch the
full body from S3 to read past the preview.
Leading slice of the content used for inline UI display and as a search shortcut. Capped at TEXT_PREVIEW_MAX_BYTES (UTF-8) and always cut on a code-point boundary so no character is split. Number of characters in the preview varies by script (around 1024 for ASCII, ~340 for CJK, ~256 for emoji-heavy text at the default 1 KB budget).
The original file url.
Contains the url of the original file. without any conversion. Only available for some specific video, audio and threeD assets. Is only specified if the given asset data has been replaced with a new file during the creation of the asset.
ModelsExamples
List
Update
ModelsExpand Collapse
ExampleListResponse { examples }
examples: Array<Example>
asset: Asset { id, authorId, collectionIds, 24 more } Asset generated by the inference
Asset generated by the inference
editCapabilities: Array<"DETECTION" | "GENERATIVE_FILL" | "PIXELATE" | 8 more>List of edit capabilities
List of edit capabilities
metadata: Metadata { kind, type, angular, 106 more } Metadata of the asset with some additional information
Metadata of the asset with some additional information
type: "3d-texture" | "3d-texture-albedo" | "3d-texture-metallic" | 77 moreThe type of the asset. Ex: ‘inference-txt2img’ will represent an asset generated from a text to image model
The type of the asset. Ex: ‘inference-txt2img’ will represent an asset generated from a text to image model
How angular is the surface? 0 is like a sphere, 1 is like a mechanical object
The optional aspect ratio given for the generation, only applicable for some models
The control image already processed by canny detector. Must reference an existing AssetId.
concepts?: Array<Concept>Flux Kontext LoRA to style the image.
For Flux Kontext Prompt Editing.
Flux Kontext LoRA to style the image. For Flux Kontext Prompt Editing.
Allow the generation of “hallucinations” during the upscale process, which adds additional details and deviates from the original image. Default: optimized for your preset and style.
Amount of decay in creativity over the upscale process. The lowest the value, the less the creativity will be preserved over the upscale process.
The control image processed by depth estimator. Must reference an existing AssetId.
Determine the scale at which the upscale process works.
- With a small value, the upscale works at the largest scale, resulting in fewer added details and more coherent images. Ideal for portraits, for example.
- With a large value, the upscale works at the smallest scale, resulting in more added details and more hallucinations. Ideal for landscapes, for example.
(info): A small value is slower and more expensive to run.
Apply extra control to the Skybox 360 geometry. The higher the value, the more the 360 geometry will influence the generated skybox image.
Use with caution. Default is adapted to the other parameters.
Strengthen the similarity to the original image during the upscale. Default: optimized for your preset and style.
imageType?: "seamfull" | "skybox" | "texture"Preserve the seamless properties of skybox or texture images. Input has to be of same type (seamless).
Preserve the seamless properties of skybox or texture images. Input has to be of same type (seamless).
inputFidelity?: "high" | "low"When set to high, allows to better preserve details from the input images in the output.
This is especially useful when using images that contain elements like faces or logos that
require accurate preservation in the generated image.
You can provide multiple input images that will all be preserved with high fidelity, but keep
in mind that the first image will be preserved with richer textures and finer details, so if
you include elements such as faces, consider placing them in the first image.
Only available for the gpt-image-1 model.
When set to high, allows to better preserve details from the input images in the output.
This is especially useful when using images that contain elements like faces or logos that
require accurate preservation in the generated image.
You can provide multiple input images that will all be preserved with high fidelity, but keep in mind that the first image will be preserved with richer textures and finer details, so if you include elements such as faces, consider placing them in the first image.
Only available for the gpt-image-1 model.
How polished is the surface? 0 is like a rough surface, 1 is like a mirror
modelType?: "custom" | "elevenlabs-voice" | "flux.1" | 28 moreThe type of the generator used
The type of the generator used
Controls the influence of the negative prompt. Default 0 means the negative prompt has no effect. Higher values increase negative prompt influence. Must be > 0 if negativePrompt is provided.
Override the embeddings of the model. Only your prompt and negativePrompt will be used. Use with caution.
List of points (label, x, y) in the image where label = 0 for background and 1 for object.
How polished is the surface? 0 is like a rough surface, 1 is like a mirror
Increase the fidelity to the prompt during upscale. Default: optimized for your preset and style.
How raised is the surface? 0 is flat like water, 1 is like a very rough rock
Additional refinement steps before scaling.
If scalingFactor == 1, the refinement process will be applied (1 + refinementSteps) times. If scalingFactor > 1, the refinement process will be applied refinementSteps times.
Boolean to return the source image with the mask applied as alpha channel
(RGBA PNG, transparent background) instead of the binary mask.
Mutually exclusive with resultMask — passing both as true returns a 400 error.
Note: backgroundOpacity is no longer honored — alpha is binary (0/255) only.
Boolean to return the binary masks in the response.
Mutually exclusive with resultImage — passing both as true returns a 400 error.
Save a flipbook of the texture. Deactivated when the input texture is larger than 2048x2048px
The seed used to generate this asset. <!> Can be a string or a number in some cases <!>.
How shiny is the surface? 0 is like a matte surface, 1 is like a diamond
The control image for structure. A canny detector will be applied to this image. Must reference an existing AssetId.
The higher the value the more it will look like the style image(s)
List of style images. Most of the time, only one image is enough. It must be existing AssetIds.
Condition the influence of the style image(s). The higher the value, the more the style images will influence the upscaled image.
Target width for the upscaled image, take priority over scaling factor
The owner (project) ID (example: “proj_23tlk332lkht3kl2” or “team_dlkhgs23tlk3hlkth32lkht3kl2” for old teams)
properties: Properties { size, animationFrameCount, bitrate, 26 more } The properties of the asset, content may depend on the kind of asset returned
The properties of the asset, content may depend on the kind of asset returned
cameraMode?: "aerial" | "interior" | "turntable"Recommended preview camera mode emitted by the generator (gsplat route);
passed through to mesh-rendering verbatim.
Recommended preview camera mode emitted by the generator (gsplat route); passed through to mesh-rendering verbatim.
cameraTrajectory?: Array<CameraTrajectory>Recommended preview camera path emitted by the generator (gsplat route);
passed through to mesh-rendering verbatim.
Recommended preview camera path emitted by the generator (gsplat route); passed through to mesh-rendering verbatim.
Number of Unicode code points in the text. Code-point-aware (so a non-BMP emoji counts as 1) but not full grapheme-cluster aware (a ZWJ sequence still counts as several).
True when preview holds the entire content unmodified — consumers can
use it directly without fetching asset.url. False or undefined means
the content exceeds the preview budget and consumers must fetch the
full body from S3 to read past the preview.
Leading slice of the content used for inline UI display and as a search shortcut. Capped at TEXT_PREVIEW_MAX_BYTES (UTF-8) and always cut on a code-point boundary so no character is split. Number of characters in the preview varies by script (around 1024 for ASCII, ~340 for CJK, ~256 for emoji-heavy text at the default 1 KB budget).
source: "3d23d" | "3d23d:texture" | "3d:texture" | 77 moresource of the asset
source of the asset