Actions

Returns metadata and source for one released prebuilt Flora action. Action identifiers are raw slugs such as rotate-image, not action-prefixed IDs. A browser-runtime action with has_preview can be mounted live from its code.

get/actions/{actionId}

Request

  • Base URL
    https://app.flora.ai/api/v1
  • URL
    https://app.flora.ai/api/v1/actions/{actionId}
  • Auth
    HTTP bearer

Path parameters

actionId'color-grade-image-browser' | 'overlay-image-browser' | 'draw-image-browser' | 'pixel-remover-image-browser' | 'magic-eraser-image-browser' | 'crop-image-browser' | 'scene-3d-image-browser' | 'blur-image-browser' | 'change-image-ar-browser' | 'rotate-image-browser' | 'color-filter-image-browser' | 'color-tint-image-browser' | 'filter-color-image-browser' | 'duplicate-image-browser' | 'side-by-side-composite-browser' | 'add-shape-to-image-browser' | 'add-text-to-image-browser' | 'qr-code-generator-browser' | 'resize-image-browser' | 'shader-effect-browser' | 'split-text-browser' | 'find-and-replace-text-browser' | 'concat-text-browser' | 'ken-burns-video' | 'stitch-videos' | 'split-video' | 'extract-video-frames' | 'color-grade-video' | 'video-to-frame-grid' | 'boomerang-video' | 'reverse-video' | 'video-to-long-exposure' | 'video-effect' | 'color-filter-video' | 'speed-up-video' | 'slow-down-video' | 'duplicate-video' | 'greenscreen-video' | 'resize-video' | 'change-video-ar' | 'split-audio-from-video' | 'merge-audio-into-video' required

Action identifier

Example:color-grade-image-browser

Response

Action returned.

action_id'color-grade-image-browser' | 'overlay-image-browser' | 'draw-image-browser' | 'pixel-remover-image-browser' | 'magic-eraser-image-browser' | 'crop-image-browser' | 'scene-3d-image-browser' | 'blur-image-browser' | 'change-image-ar-browser' | 'rotate-image-browser' | 'color-filter-image-browser' | 'color-tint-image-browser' | 'filter-color-image-browser' | 'duplicate-image-browser' | 'side-by-side-composite-browser' | 'add-shape-to-image-browser' | 'add-text-to-image-browser' | 'qr-code-generator-browser' | 'resize-image-browser' | 'shader-effect-browser' | 'split-text-browser' | 'find-and-replace-text-browser' | 'concat-text-browser' | 'ken-burns-video' | 'stitch-videos' | 'split-video' | 'extract-video-frames' | 'color-grade-video' | 'video-to-frame-grid' | 'boomerang-video' | 'reverse-video' | 'video-to-long-exposure' | 'video-effect' | 'color-filter-video' | 'speed-up-video' | 'slow-down-video' | 'duplicate-video' | 'greenscreen-video' | 'resize-video' | 'change-video-ar' | 'split-audio-from-video' | 'merge-audio-into-video' required

Action identifier

namestring required

Action name

descriptionstring required

Action description

language'javascript' | 'python' required

Action runtime language

runtime'node' | 'python' | 'browser' required

Where the action executes: a server sandbox (node, python) or the browser runtime (browser), which a host can also run live

has_previewboolean required

True when the code is a browser-runtime module exporting preview, so a host can mount it live and re-render edits without a run

charged_costnumber required

Cost per execution in USD

codestring required

The action's source. For a browser-runtime action, mount it in the FLORA action runtime frame for a live preview; a run replays the same code on the server.

Example response

{
  "action_id": "color-grade-image-browser",
  "name": "Rotate Image",
  "description": "Rotate an image by a fixed angle.",
  "inputs": [
    {
      "name": "image"
    }
  ],
  "outputs": [
    {
      "name": "image"
    }
  ],
  "params": [
    {
      "key": "angle",
      "type": "select",
      "label": "Angle",
      "info_tooltip": "Rotation angle in degrees."
    }
  ]
}

Changes

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • warning

      added the new not_configured enum value to the / response property for the response status

    • breaking

      removed the enum value add-shape-to-image from the path request parameter actionId

    • breaking

      removed the enum value add-text-to-image from the path request parameter actionId

    • breaking

      removed the enum value blur-image from the path request parameter actionId

    • breaking

      removed the enum value change-image-ar from the path request parameter actionId

    • breaking

      removed the enum value color-filter-image from the path request parameter actionId

    • breaking

      removed the enum value color-grade-image from the path request parameter actionId

    • breaking

      removed the enum value color-tint-image from the path request parameter actionId

    • breaking

      removed the enum value concat-text from the path request parameter actionId

    • breaking

      removed the enum value duplicate-image from the path request parameter actionId

    • breaking

      removed the enum value filter-color-image from the path request parameter actionId

    • breaking

      removed the enum value find-and-replace-text from the path request parameter actionId

    • breaking

      removed the enum value flip-image from the path request parameter actionId

    • breaking

      removed the enum value generate-shape-image from the path request parameter actionId

    • breaking

      removed the enum value generate-text-image from the path request parameter actionId

    • breaking

      removed the enum value qr-code-generator from the path request parameter actionId

    • breaking

      removed the enum value rotate-image from the path request parameter actionId

    • breaking

      removed the enum value side-by-side-composite from the path request parameter actionId

    • breaking

      removed the enum value split-text from the path request parameter actionId

    • warning

      added the new add-shape-to-image-browser enum value to the response property for the response status

    • warning

      added the new add-text-to-image-browser enum value to the response property for the response status

    • warning

      added the new blur-image-browser enum value to the response property for the response status

    • warning

      added the new change-image-ar-browser enum value to the response property for the response status

    • warning

      added the new color-filter-image-browser enum value to the response property for the response status

    • warning

      added the new color-grade-image-browser enum value to the response property for the response status

    • warning

      added the new color-tint-image-browser enum value to the response property for the response status

    • warning

      added the new concat-text-browser enum value to the response property for the response status

    • warning

      added the new crop-image-browser enum value to the response property for the response status

    • warning

      added the new draw-image-browser enum value to the response property for the response status

    • warning

      added the new duplicate-image-browser enum value to the response property for the response status

    • warning

      added the new filter-color-image-browser enum value to the response property for the response status

    • warning

      added the new find-and-replace-text-browser enum value to the response property for the response status

    • warning

      added the new magic-eraser-image-browser enum value to the response property for the response status

    • warning

      added the new model3d enum value to the // response property for the response status

    • warning

      added the new model3d enum value to the // response property for the response status

    • warning

      added the new overlay-image-browser enum value to the response property for the response status

    • warning

      added the new paid_plan_required enum value to the / response property for the response status

    • warning

      added the new paid_plan_required enum value to the / response property for the response status

    • warning

      added the new paid_plan_required enum value to the / response property for the response status

    • warning

      added the new paid_plan_required enum value to the / response property for the response status

    • warning

      added the new paid_plan_required enum value to the / response property for the response status

    • warning

      added the new paid_plan_required enum value to the / response property for the response status

    • warning

      added the new paid_plan_required enum value to the / response property for the response status

    • warning

      added the new paid_plan_required enum value to the / response property for the response status

    • warning

      added the new pixel-remover-image-browser enum value to the response property for the response status

    • warning

      added the new qr-code-generator-browser enum value to the response property for the response status

    • warning

      added the new resize-image-browser enum value to the response property for the response status

    • warning

      added the new revision_conflict enum value to the / response property for the response status

    • warning

      added the new revision_conflict enum value to the / response property for the response status

    • warning

      added the new revision_conflict enum value to the / response property for the response status

    • warning

      added the new revision_conflict enum value to the / response property for the response status

    • warning

      added the new revision_conflict enum value to the / response property for the response status

    • warning

      added the new revision_conflict enum value to the / response property for the response status

    • warning

      added the new revision_conflict enum value to the / response property for the response status

    • warning

      added the new revision_conflict enum value to the / response property for the response status

    • warning

      added the new rotate-image-browser enum value to the response property for the response status

    • warning

      added the new scene-3d-image-browser enum value to the response property for the response status

    • warning

      added the new shader-effect-browser enum value to the response property for the response status

    • warning

      added the new side-by-side-composite-browser enum value to the response property for the response status

    • warning

      added the new split-text-browser enum value to the response property for the response status

    • warning

      added the new temporarily_unavailable enum value to the / response property for the response status

    • warning

      added the new temporarily_unavailable enum value to the / response property for the response status

    • warning

      added the new temporarily_unavailable enum value to the / response property for the response status

    • warning

      added the new temporarily_unavailable enum value to the / response property for the response status

    • warning

      added the new temporarily_unavailable enum value to the / response property for the response status

    • warning

      added the new temporarily_unavailable enum value to the / response property for the response status

    • warning

      added the new temporarily_unavailable enum value to the / response property for the response status

    • warning

      added the new temporarily_unavailable enum value to the / response property for the response status

    • info

      added the new enum value add-shape-to-image-browser to the path request parameter actionId

    • info

      added the new enum value add-text-to-image-browser to the path request parameter actionId

    • info

      added the new enum value blur-image-browser to the path request parameter actionId

    • info

      added the new enum value change-image-ar-browser to the path request parameter actionId

    • info

      added the new enum value color-filter-image-browser to the path request parameter actionId

    • info

      added the new enum value color-grade-image-browser to the path request parameter actionId

    • info

      added the new enum value color-tint-image-browser to the path request parameter actionId

    • info

      added the new enum value concat-text-browser to the path request parameter actionId

    • info

      added the new enum value crop-image-browser to the path request parameter actionId

    • info

      added the new enum value draw-image-browser to the path request parameter actionId

    • info

      added the new enum value duplicate-image-browser to the path request parameter actionId

    • info

      added the new enum value filter-color-image-browser to the path request parameter actionId

    • info

      added the new enum value find-and-replace-text-browser to the path request parameter actionId

    • info

      added the new enum value magic-eraser-image-browser to the path request parameter actionId

    • info

      added the new enum value overlay-image-browser to the path request parameter actionId

    • info

      added the new enum value pixel-remover-image-browser to the path request parameter actionId

    • info

      added the new enum value qr-code-generator-browser to the path request parameter actionId

    • info

      added the new enum value resize-image-browser to the path request parameter actionId

    • info

      added the new enum value rotate-image-browser to the path request parameter actionId

    • info

      added the new enum value scene-3d-image-browser to the path request parameter actionId

    • info

      added the new enum value shader-effect-browser to the path request parameter actionId

    • info

      added the new enum value side-by-side-composite-browser to the path request parameter actionId

    • info

      added the new enum value split-text-browser to the path request parameter actionId

    • info

      added the non-success response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      removed the add-shape-to-image enum value from the response property for the response status

    • info

      removed the add-text-to-image enum value from the response property for the response status

    • info

      removed the blur-image enum value from the response property for the response status

    • info

      removed the change-image-ar enum value from the response property for the response status

    • info

      removed the color-filter-image enum value from the response property for the response status

    • info

      removed the color-grade-image enum value from the response property for the response status

    • info

      removed the color-tint-image enum value from the response property for the response status

    • info

      removed the concat-text enum value from the response property for the response status

    • info

      removed the duplicate-image enum value from the response property for the response status

    • info

      removed the filter-color-image enum value from the response property for the response status

    • info

      removed the find-and-replace-text enum value from the response property for the response status

    • info

      removed the flip-image enum value from the response property for the response status

    • info

      removed the generate-shape-image enum value from the response property for the response status

    • info

      removed the generate-text-image enum value from the response property for the response status

    • info

      removed the qr-code-generator enum value from the response property for the response status

    • info

      removed the rotate-image enum value from the response property for the response status

    • info

      removed the side-by-side-composite enum value from the response property for the response status

    • info

      removed the split-text enum value from the response property for the response status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status