Skip to content
Get started

Download

POST/models/{modelId}/download

Request a link to download the given modelId

Path ParametersExpand Collapse
modelId: string
Body ParametersJSONExpand Collapse
modelEpoch: optional string

The epoch hash of the model to download Only available for Flux Lora Trained models with epochs Will only apply to the main model in the download request If not set, the default (latest or setup at model level) epoch will be used

ReturnsExpand Collapse
jobId: string

The job id associated with the download request

Download

curl https://api.cloud.scenario.com/v1/models/$MODEL_ID/download \
    -H 'Content-Type: application/json' \
    -u "$SCENARIO_SDK_API_KEY:SCENARIO_SDK_API_SECRET" \
    -d '{}'
{
  "jobId": "jobId"
}
Returns Examples
{
  "jobId": "jobId"
}