Krea

App · 20 actions

Generate and enhance images and videos, run node apps, and monitor Krea jobs.

Actions

ActionWhat it does
Cancel jobCancel a job while Krea still allows it.
Delete assetPermanently remove an uploaded asset.
Enhance image with KreaUpscale or sharpen an image using a public image URL.
Generate image with Flux.1 DevGenerate an image from a prompt or reference image.
Generate image with GPT Image 2Generate or edit images with OpenAI's GPT Image 2 model.
Generate image with Krea 3Generate an image or edit reference images.
Generate image with Nano Banana 2Generate or edit an image with Google's Nano Banana 2 model.
Generate video with Kling 2.5Generate a clip from a prompt and optional start and end frames.
Generate video with Seedance 1.0 Pro FastGenerate a clip from a prompt or a starting frame.
Get assetRead one uploaded asset's URL and metadata.
Get jobRead the job status, generated media URLs, or failure details.
Get runnable app versionRead the inputs and outputs of one node app version.
Get styleRead a style's settings and preview URLs.
Get workspace usageRead completed API jobs and costs over a UTC date range.
List assetsList uploaded assets and their image URLs.
List jobsList recent Krea API jobs, optionally filtered by status.
List runnable appsList the node apps that this connection can run.
List stylesFind styles available to the connected workspace or in the public library.
Run node appStart a node app with inputs from its version's schema.
Upload assetUpload a file to Krea and get a URL for generation or enhancement.

Cancel job

Cancel a job while Krea still allows it.

Inputs

Job IDjob_idtextRequired
Enter the ID of a queued or processing job.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {}
}

Delete asset

Permanently remove an uploaded asset.

Inputs

Assetasset_idtextRequired
Choose the asset to delete.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "message": "example",
    "success": true
  }
}

Enhance image with Krea

Upscale or sharpen an image using a public image URL. Returns a job ID for checking the result.

Inputs

Image URLimage_urltextRequired
Enter a public URL of the image to enhance.
Image scaling factorimage_scaling_factornumber
Set how much larger the image should be.
Promptprompttext
Describe details you want to preserve or enhance.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "error": {
      "code": "example",
      "message": "example"
    },
    "job_id": "example",
    "result": {
      "urls": [
        "example"
      ]
    },
    "status": "backlogged"
  }
}

Generate image with Flux.1 Dev

Generate an image from a prompt or reference image. Returns a job ID for checking the result.

Inputs

PromptprompttextRequired
Describe the result you want.
Seedseednumber
Enter a seed to repeat the same random starting point.
Image URLimage_urltext
Public URL of the reference image.
Widthwidthnumber
Set the output width in pixels.
Heightheightnumber
Set the output height in pixels.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "error": {
      "code": "example",
      "message": "example"
    },
    "job_id": "example",
    "result": {
      "urls": [
        "example"
      ]
    },
    "status": "backlogged"
  }
}

Generate image with GPT Image 2

Generate or edit images with OpenAI's GPT Image 2 model. Returns a job ID for checking the result.

Inputs

PromptprompttextRequired
Describe the result you want.
Image URLSimage_urlslist
Public URLs of images to use as references.
Resolutionresolutiontext
Choose an output resolution.One of: 1K, 2K, 4K.
Aspect ratioaspect_ratiotext
Choose the shape of the image.One of: 16:9, 2:1, 3:2, 4:3, 1:1, 3:4, 2:3, 1:2, 9:16.
Qualityqualitytext
Choose image quality.One of: low, medium, high, auto.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "error": {
      "code": "example",
      "message": "example"
    },
    "job_id": "example",
    "result": {
      "urls": [
        "example"
      ]
    },
    "status": "backlogged"
  }
}

Generate image with Krea 3

Generate an image or edit reference images. Returns a job ID for checking the result.

Inputs

PromptprompttextRequired
Describe the result you want.
Image URLSimage_urlslist
Public URLs of images to use as references.
Seedseednumber
Enter a seed to repeat the same random starting point.
Aspect ratioaspect_ratiotext
Choose how wide or tall the image should be.One of: 1:1, 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16, 16:9, 21:9.
Thinking modethinking_modetext
Choose generation or editing effort.One of: fast, high.
Resolutionresolutiontext
Choose an output resolution.One of: 1K, 2K, 4K.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "error": {
      "code": "example",
      "message": "example"
    },
    "job_id": "example",
    "result": {
      "urls": [
        "example"
      ]
    },
    "status": "backlogged"
  }
}

Generate image with Nano Banana 2

Generate or edit an image with Google's Nano Banana 2 model. Returns a job ID for checking the result.

Inputs

PromptprompttextRequired
Describe the result you want.
Image URLSimage_urlslist
Public URLs of images to use as references.
Resolutionresolutiontext
Choose an output resolution.One of: 1K, 2K, 4K.
Aspect ratioaspect_ratiotext
Choose the shape of the image.One of: 4:1, 21:9, 1:1, 4:3, 3:2, 2:3, 5:4, 4:5, 3:4, 16:9, and 3 more.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "error": {
      "code": "example",
      "message": "example"
    },
    "job_id": "example",
    "result": {
      "urls": [
        "example"
      ]
    },
    "status": "backlogged"
  }
}

Generate video with Kling 2.5

Generate a clip from a prompt and optional start and end frames. Returns a job ID for checking the result.

Inputs

PromptprompttextRequired
Describe the result you want.
Start imagestart_imagetext
Public URL of the first frame.
End imageend_imagetext
Public URL of the final frame.
Aspect ratioaspect_ratiotext
Choose the shape of the video.One of: 16:9, 9:16, 1:1.
Durationdurationnumber
Choose a duration in seconds.One of: 5, 10.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "error": {
      "code": "example",
      "message": "example"
    },
    "job_id": "example",
    "result": {
      "urls": [
        "example"
      ]
    },
    "status": "backlogged"
  }
}

Generate video with Seedance 1.0 Pro Fast

Generate a clip from a prompt or a starting frame. Returns a job ID for checking the result.

Inputs

PromptprompttextRequired
Describe the result you want.
Start imagestart_imagetext
Public URL of the first frame.
Aspect ratioaspect_ratiotext
Choose the shape of the video.One of: 1:1, 16:9, 9:16, 4:3, 3:4, 21:9, 9:21.
Durationdurationnumber
Choose the number of seconds to generate.One of: 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12.
Resolutionresolutiontext
Choose a video resolution.One of: 480p, 720p, 1080p.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "error": {
      "code": "example",
      "message": "example"
    },
    "job_id": "example",
    "result": {
      "urls": [
        "example"
      ]
    },
    "status": "backlogged"
  }
}

Get asset

Read one uploaded asset's URL and metadata.

Inputs

Assetasset_idtextRequired
Choose an uploaded asset.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "height": 1,
    "id": "example",
    "image_url": "example",
    "mime_type": "example",
    "uploaded_at": "example",
    "width": 1
  }
}

Get job

Read the job status, generated media URLs, or failure details.

Inputs

Job IDjob_idtextRequired
Enter the job ID from a generation step or List jobs.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "completed_at": "example",
    "created_at": "example",
    "error": {
      "code": "example",
      "message": "example"
    },
    "job_id": "example",
    "result": {
      "urls": [
        "example"
      ]
    },
    "status": "backlogged"
  }
}

Get runnable app version

Read the inputs and outputs of one node app version.

Inputs

Version IDversion_idtextRequired
Enter the node app version ID from List runnable apps.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "id": "example",
    "input_openapi_schema": {},
    "name": "example",
    "node_app_version_id": "example"
  }
}

Get style

Read a style's settings and preview URLs.

Inputs

Stylestyle_idtextRequired
Choose a style.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "id": "example",
    "public": true,
    "title": "example",
    "urls": [
      "example"
    ]
  }
}

Get workspace usage

Read completed API jobs and costs over a UTC date range.

Inputs

Start datestart_datedate
Choose the first day of the range.
End dateend_datedate
Choose the last day of the range.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "end_date": "example",
    "jobs": [
      {}
    ],
    "start_date": "example"
  }
}

List assets

List uploaded assets and their image URLs.

Inputs

Limitlimitnumber
Maximum number of records to return.From 1 to 1000.
Cursorcursordate and time
Use the cursor returned by the previous page.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "items": [
      {
        "height": 1,
        "id": "example",
        "image_url": "example",
        "mime_type": "example",
        "uploaded_at": "example",
        "width": 1
      }
    ],
    "next_cursor": "example"
  }
}

List jobs

List recent Krea API jobs, optionally filtered by status.

Inputs

Statusstatustext
Filter by the current job status.One of: backlogged, queued, scheduled, processing, sampling, intermediate-complete, completed, failed, cancelled.
Limitlimitnumber
Maximum number of records to return.From 1 to 1000.
Cursorcursordate and time
Use the cursor returned by the previous page.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "items": [
      {
        "completed_at": "example",
        "created_at": "example",
        "error": {
          "code": "example",
          "message": "example"
        },
        "job_id": "example",
        "result": {
          "urls": [
            "example"
          ]
        },
        "status": "backlogged"
      }
    ],
    "next_cursor": "example"
  }
}

List runnable apps

List the node apps that this connection can run.

Inputs

Limitlimitnumber
Maximum number of records to return.From 1 to 1000.
Cursorcursortext
Use the cursor returned by the previous page.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "items": [
      {
        "id": "example",
        "input_openapi_schema": {},
        "name": "example",
        "node_app_version_id": "example"
      }
    ],
    "next_cursor": "example"
  }
}

List styles

Find styles available to the connected workspace or in the public library.

Inputs

Limitlimitnumber
Maximum number of records to return.From 1 to 1000.
Cursorcursortext
Use the cursor returned by the previous page.
Filterfiltertext
Choose which group of styles to search.One of: all, user, community, krea, shared, unapproved, editor, gallery, public.
Likedlikedtrue/false
Show only liked styles.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "items": [
      {
        "id": "example",
        "public": true,
        "title": "example",
        "urls": [
          "example"
        ]
      }
    ],
    "next_cursor": "example"
  }
}

Run node app

Start a node app with inputs from its version's schema.

Inputs

Version IDversion_idtextRequired
Enter the version ID from List runnable apps.
InputsinputsobjectRequired
Supply the fields required by this node app version.

Outputs

datalist
The response from Krea.
Example output
{
  "data": [
    {
      "completed_at": "example",
      "created_at": "example",
      "error": {
        "code": "example",
        "message": "example"
      },
      "job_id": "example",
      "result": {
        "urls": [
          "example"
        ]
      },
      "status": "backlogged"
    }
  ]
}

Upload asset

Upload a file to Krea and get a URL for generation or enhancement.

Inputs

FilefiletextRequired
Upload a file, choose a file from an earlier step, or enter a public file URL.
Descriptiondescriptiontext
Give the asset a description.

Outputs

dataobject
The response from Krea.
Example output
{
  "data": {
    "height": 1,
    "id": "example",
    "image_url": "example",
    "mime_type": "example",
    "uploaded_at": "example",
    "width": 1
  }
}

On this page