Picsart

App · 8 actions

Remove and replace backgrounds, enhance, edit and generate images with Picsart's AI tools.

Actions

ActionWhat it does
Apply makeupAdd virtual makeup to a portrait: lipstick, eye looks, blush or a full styled look.
Change backgroundKeep the subject of a photo and replace what is behind it with a scene you describe.
Edit imageChange a photo by describing the edit: swap an object, fix a flaw or change the style.
Enhance imageSharpen and upscale a photo, restoring faces and correcting colour.
Generate imageMake a new image from a description with Picsart's fast SANA-Sprint model.
Generate image from referencesMake a new image from a description, guided by up to three photos of a subject, style or layout.
Get job resultCheck a Picsart job by its ID and get its images once it has finished.
Remove backgroundCut the subject out of a photo and return it on a transparent background.

Apply makeup

Add virtual makeup to a portrait: lipstick, eye looks, blush or a full styled look. Picsart charges for each image.

Inputs

Image URLimage_urltextRequired
A public link to the photo, such as one from an earlier step. Picsart downloads it, so it must open without signing in.
PromptprompttextRequired
The look to apply, such as 'soft pink lipstick and light blush'.
Avoidavoidtext
What to keep out of the result, such as text, watermarks or blur.

Outputs

dataobject
The response from Picsart.
Example output
{
  "data": {
    "credits": 1,
    "image_url": "example",
    "image_urls": [
      "example"
    ],
    "job_id": "example",
    "status": "example"
  }
}

Change background

Keep the subject of a photo and replace what is behind it with a scene you describe. Picsart charges for each image.

Inputs

Image URLimage_urltextRequired
A public link to the photo, such as one from an earlier step. Picsart downloads it, so it must open without signing in.
PromptprompttextRequired
The new background, such as 'a sunny beach at noon'.

Outputs

dataobject
The response from Picsart.
Example output
{
  "data": {
    "credits": 1,
    "image_url": "example",
    "image_urls": [
      "example"
    ],
    "job_id": "example",
    "status": "example"
  }
}

Edit image

Change a photo by describing the edit: swap an object, fix a flaw or change the style. Picsart charges for each image.

Inputs

Image URLsimage_urlslistRequired
Public links to the photo to edit, then up to two more photos it can draw on. Picsart downloads them, so they must open without signing in.
PromptprompttextRequired
The edit to make, such as 'replace the red car with a blue bicycle'.
Avoidavoidtext
What to keep out of the result, such as text, watermarks or blur.

Outputs

dataobject
The response from Picsart.
Example output
{
  "data": {
    "credits": 1,
    "image_url": "example",
    "image_urls": [
      "example"
    ],
    "job_id": "example",
    "status": "example"
  }
}

Enhance image

Sharpen and upscale a photo, restoring faces and correcting colour. Picsart charges for each image.

Inputs

Image URLimage_urltextRequired
A public link to the photo, such as one from an earlier step. Picsart downloads it, so it must open without signing in.

Outputs

dataobject
The response from Picsart.
Example output
{
  "data": {
    "credits": 1,
    "image_url": "example",
    "image_urls": [
      "example"
    ],
    "job_id": "example",
    "status": "example"
  }
}

Generate image

Make a new image from a description with Picsart's fast SANA-Sprint model. Picsart charges for each image.

Inputs

PromptprompttextRequired
What to draw: the subject, style and composition.
Aspect ratioaspect_ratiotext
The image's shape as width to height. Square when left empty.One of: 1:1, 4:3, 3:4, 3:2, 2:3, 16:9, 9:16, 2:1, 1:2. Default: 1:1.

Outputs

dataobject
The response from Picsart.
Example output
{
  "data": {
    "credits": 1,
    "image_url": "example",
    "image_urls": [
      "example"
    ],
    "job_id": "example",
    "status": "example"
  }
}

Generate image from references

Make a new image from a description, guided by up to three photos of a subject, style or layout. Uses Picsart's Flux 2 Klein model. Picsart charges for each image.

Inputs

PromptprompttextRequired
What to draw: the subject, style and composition.
Reference image URLsreference_urlslist
Public links to up to three photos to take the subject, style or layout from.
Aspect ratioaspect_ratiotext
The image's shape as width to height. Square when left empty.One of: 1:1, 5:3, 3:5, 4:3, 3:4. Default: 1:1.

Outputs

dataobject
The response from Picsart.
Example output
{
  "data": {
    "credits": 1,
    "image_url": "example",
    "image_urls": [
      "example"
    ],
    "job_id": "example",
    "status": "example"
  }
}

Get job result

Check a Picsart job by its ID and get its images once it has finished. Use it when an image step ran out of time waiting.

Inputs

Job IDjob_idtextRequired
The job ID from an earlier Picsart step or error message.

Outputs

dataobject
The response from Picsart.
Example output
{
  "data": {
    "credits": 1,
    "image_url": "example",
    "image_urls": [
      "example"
    ],
    "job_id": "example",
    "status": "example"
  }
}

Remove background

Cut the subject out of a photo and return it on a transparent background. Picsart charges for each image.

Inputs

Image URLimage_urltextRequired
A public link to the photo, such as one from an earlier step. Picsart downloads it, so it must open without signing in.

Outputs

dataobject
The response from Picsart.
Example output
{
  "data": {
    "credits": 1,
    "image_url": "example",
    "image_urls": [
      "example"
    ],
    "job_id": "example",
    "status": "example"
  }
}

On this page