Node Apps

Execute a node app

Changed on

Execute a node app by version ID. The request body should contain the input data as a JSON object matching the node app's input schema. Returns a job that can be tracked using /jobs/{id}.

post/node-apps/{id}/execute

Request

  • Base URL
    https://api.krea.ai
  • Auth
    HTTP bearer

Path parameters

id, string required

Node app version ID

Request body

object required

Input data for the node app execution, matching the node app's input schema

Response

Execution job created successfully. The job will be in a processing state until completed. Use /jobs/{id} to check progress.

object[] required
job_id, string uuid required
status, 'backlogged' | 'queued' | 'scheduled' | 'processing' | 'sampling' | 'intermediate-complete' | 'finalizing' | 'completed' | 'failed' | 'cancelled' required
created_at, string date-time required
completed_at, string date-time
result, object
error, object
progress, number nullable
export_progress, object

Motion exports only, while running: frames rendered of the total, then finishing while the sound is added, then saving while the MP4 is filed.

Changes