Picsart
App · 8 actions
Remove and replace backgrounds, enhance, edit and generate images with Picsart's AI tools.
Actions
| Action | What it does |
|---|---|
| Apply makeup | Add virtual makeup to a portrait: lipstick, eye looks, blush or a full styled look. |
| Change background | Keep the subject of a photo and replace what is behind it with a scene you describe. |
| Edit image | Change a photo by describing the edit: swap an object, fix a flaw or change the style. |
| Enhance image | Sharpen and upscale a photo, restoring faces and correcting colour. |
| Generate image | Make a new image from a description with Picsart's fast SANA-Sprint model. |
| Generate image from references | Make a new image from a description, guided by up to three photos of a subject, style or layout. |
| Get job result | Check a Picsart job by its ID and get its images once it has finished. |
| Remove background | Cut 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 URL
image_urltextRequired - A public link to the photo, such as one from an earlier step. Picsart downloads it, so it must open without signing in.
- Prompt
prompttextRequired - The look to apply, such as 'soft pink lipstick and light blush'.
- Avoid
avoidtext - 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 URL
image_urltextRequired - A public link to the photo, such as one from an earlier step. Picsart downloads it, so it must open without signing in.
- Prompt
prompttextRequired - 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 URLs
image_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.
- Prompt
prompttextRequired - The edit to make, such as 'replace the red car with a blue bicycle'.
- Avoid
avoidtext - 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 URL
image_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
- Prompt
prompttextRequired - What to draw: the subject, style and composition.
- Aspect ratio
aspect_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
- Prompt
prompttextRequired - What to draw: the subject, style and composition.
- Reference image URLs
reference_urlslist - Public links to up to three photos to take the subject, style or layout from.
- Aspect ratio
aspect_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 ID
job_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 URL
image_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"
}
}