Decart

App · 17 actions

Edit images and videos with Lucy and track generation jobs and uploaded files.

Actions

ActionWhat it does
Delete FileDelete File in Decart.
Edit imageEdit image in Decart.
Edit video lucy 21Edit video lucy 21 in Decart.
Edit video lucy 25Edit video lucy 25 in Decart.
Edit video lucy 26Edit video lucy 26 in Decart.
Get CreditsGet Credits in Decart.
Get File By MD5Get File By MD5 in Decart.
Get File MetadataGet File Metadata in Decart.
Get JobGet Job in Decart.
Get Job ContentGet Job Content in Decart.
Get Realtime QuotaGet Realtime Quota in Decart.
List FilesList Files in Decart.
Resolve Model AliasesResolve Model Aliases in Decart.
Restyle videoRestyle video in Decart.
Try on clothingTry on clothing in Decart.
Try on clothing lucy 35Try on clothing lucy 35 in Decart.
Upload FileUpload File in Decart.

Delete File

Delete File in Decart.

Inputs

Filefile_idtextRequired
File ID.

Outputs

dataobject
The Decart response.
Example output
{
  "data": {}
}

Edit image

Edit image in Decart.

Inputs

Source imageinput_mediatextRequired
Use a Decart file ID or the URL of the source media.
PromptprompttextRequired
Prompt.
Seedseednumber
Seed.From 0.0 to 4294967295.0.
Resolutionresolutiontext
Resolution.One of: 720p, 480p. Default: 720p.
Enhance promptenhance_prompttrue/false
Enhance prompt.Default: true.
Reference imagereference_imagetext
Use a Decart file ID or the URL of the reference image.

Outputs

dataobject
The Decart response.
Example output
{
  "data": {
    "content_base64": "example",
    "content_type": "example"
  }
}

Edit video lucy 21

Edit video lucy 21 in Decart.

Inputs

Source videoinput_mediatextRequired
Use a Decart file ID or the URL of the source media.
Promptprompttext
Prompt.
Seedseednumber
Seed.From 0.0 to 4294967295.0.
Resolutionresolutiontext
Resolution.One of: 720p. Default: 720p.
Enhance promptenhance_prompttrue/false
Enhance prompt.Default: true.
Reference imagereference_imagetext
Use a Decart file ID or the URL of the reference image.

Outputs

dataobject
The Decart response.
Example output
{
  "data": {
    "job_id": "example",
    "status": "example"
  }
}

Edit video lucy 25

Edit video lucy 25 in Decart.

Inputs

Source videoinput_mediatextRequired
Use a Decart file ID or the URL of the source media.
Promptprompttext
Prompt.
Seedseednumber
Seed.From 0.0 to 4294967295.0.
Resolutionresolutiontext
Resolution.One of: 720p. Default: 720p.
Enhance promptenhance_prompttrue/false
Enhance prompt.Default: true.
Self anchorself_anchortrue/false
Self anchor.Default: true.
Reference imagereference_imagetext
Use a Decart file ID or the URL of the reference image.

Outputs

dataobject
The Decart response.
Example output
{
  "data": {
    "job_id": "example",
    "status": "example"
  }
}

Edit video lucy 26

Edit video lucy 26 in Decart.

Inputs

Source videoinput_mediatextRequired
Use a Decart file ID or the URL of the source media.
Promptprompttext
Prompt.
Seedseednumber
Seed.From 0.0 to 4294967295.0.
Resolutionresolutiontext
Resolution.One of: 720p. Default: 720p.
Enhance promptenhance_prompttrue/false
Enhance prompt.Default: true.
Self anchorself_anchortrue/false
Self anchor.Default: true.
Reference imagereference_imagetext
Use a Decart file ID or the URL of the reference image.

Outputs

dataobject
The Decart response.
Example output
{
  "data": {
    "job_id": "example",
    "status": "example"
  }
}

Get Credits

Get Credits in Decart.

Inputs

None.

Outputs

dataobject
CreditsResponse
Example output
{
  "data": {
    "credits": 1,
    "key_quota": {
      "limit": 1,
      "remaining": 1,
      "resets_at": "example",
      "used": 1
    }
  }
}

Get File By MD5

Get File By MD5 in Decart.

Inputs

MD5md5textRequired
MD5.

Outputs

dataobject
FileReferenceResponse
Example output
{
  "data": {
    "created_at": "example",
    "expires_at": "example",
    "filename": "example",
    "id": "example",
    "md5": "example",
    "mime_type": "example",
    "size_bytes": 1
  }
}

Get File Metadata

Get File Metadata in Decart.

Inputs

Filefile_idtextRequired
File ID.

Outputs

dataobject
FileReferenceResponse
Example output
{
  "data": {
    "created_at": "example",
    "expires_at": "example",
    "filename": "example",
    "id": "example",
    "md5": "example",
    "mime_type": "example",
    "size_bytes": 1
  }
}

Get Job

Get Job in Decart.

Inputs

Job IDjob_idtextRequired
Job ID.

Outputs

dataobject
The Decart response.
Example output
{
  "data": {
    "job_id": "example",
    "status": "example"
  }
}

Get Job Content

Get Job Content in Decart.

Inputs

Job IDjob_idtextRequired
Job ID.

Outputs

dataobject
The Decart response.
Example output
{
  "data": {
    "content_base64": "example",
    "content_type": "example"
  }
}

Get Realtime Quota

Get Realtime Quota in Decart.

Inputs

None.

Outputs

dataobject
RealtimeQuotaResponse
Example output
{
  "data": {
    "active": 1,
    "limit": 1,
    "remaining": 1
  }
}

List Files

List Files in Decart.

Inputs

Limitlimitnumber
Limit.From 1 to 1000. Default: 100.
Cursorcursortext
Cursor.

Outputs

dataobject
FileListResponse
Example output
{
  "data": {
    "files": [],
    "next_cursor": "example"
  }
}

Resolve Model Aliases

Resolve Model Aliases in Decart.

Inputs

Modelmodeltext
Model.
Modelsmodelslist
Models.

Outputs

dataobject
ModelResolveResponse
Example output
{
  "data": {
    "model_id": "example",
    "model_ids": {}
  }
}

Restyle video

Restyle video in Decart.

Inputs

Source videoinput_mediatextRequired
Use a Decart file ID or the URL of the source media.
Promptprompttext
Prompt.
Seedseednumber
Seed.From 0.0 to 4294967295.0.
Resolutionresolutiontext
Resolution.One of: 720p. Default: 720p.
Enhance promptenhance_prompttrue/false
Enhance prompt.Default: true.
Reference imagereference_imagetext
Use a Decart file ID or the URL of the reference image.

Outputs

dataobject
The Decart response.
Example output
{
  "data": {
    "job_id": "example",
    "status": "example"
  }
}

Try on clothing

Try on clothing in Decart.

Inputs

Source videoinput_mediatextRequired
Use a Decart file ID or the URL of the source media.
Promptprompttext
Prompt.
Seedseednumber
Seed.From 0.0 to 4294967295.0.
Resolutionresolutiontext
Resolution.One of: 720p. Default: 720p.
Enhance promptenhance_prompttrue/false
Enhance prompt.Default: true.
Reference imagereference_imagetextRequired
Use a Decart file ID or the URL of the reference image.

Outputs

dataobject
The Decart response.
Example output
{
  "data": {
    "job_id": "example",
    "status": "example"
  }
}

Try on clothing lucy 35

Try on clothing lucy 35 in Decart.

Inputs

Source videoinput_mediatextRequired
Use a Decart file ID or the URL of the source media.
Promptprompttext
Prompt.
Seedseednumber
Seed.From 0.0 to 4294967295.0.
Resolutionresolutiontext
Resolution.One of: 720p. Default: 720p.
Enhance promptenhance_prompttrue/false
Enhance prompt.Default: true.
Reference imagereference_imagetextRequired
Use a Decart file ID or the URL of the reference image.

Outputs

dataobject
The Decart response.
Example output
{
  "data": {
    "job_id": "example",
    "status": "example"
  }
}

Upload File

Upload File in Decart.

Inputs

FilefiletextRequired
Choose a file from the workflow or enter a public download URL.
Ttl secondsttl_secondsnumber
Ttl seconds.

Outputs

dataobject
FileReferenceResponse
Example output
{
  "data": {
    "created_at": "example",
    "expires_at": "example",
    "filename": "example",
    "id": "example",
    "md5": "example",
    "mime_type": "example",
    "size_bytes": 1
  }
}

On this page