1. Recipe
Crop.photo
  • Crop.photo API
    • Introduction
    • Authentication
    • FAQs
    • Examples
    • Interactive API Testing
    • Recipe
      • List Recipes
        GET
      • Submit Recipe Job
        POST
      • Poll Recipe Job Status
        GET
      • Fetch Recipe Job Result
        GET
    • Auto Resize & Align
      POST
    • Body Aware Crop
      POST
    • Unrecognizable Crop
      POST
    • Remove Background
      POST
    • AI Lifestyle Crop
      POST
  • Schemas
    • Schemas
      • CreateBannerRequest
      • InputFile
      • MaskFile
      • OutputDimensions
      • BannerConfiguration
      • OutputDimension
      • Output
    • Crop.photo Schema
      • Recipe
        • Recipe
        • RecipeJobOutput
      • Auto Resize and Align Minimum Margins
      • Minimum Margins Lifestyle
      • Output Size and Format
      • Background Settings
      • Image Response Type
      • Image URL
      • Body Aware Crop Markers
      • Preserve Edge Contact
      • Ai model & Analysis hints
      • Body Marker Margins
      • Unrecognizable Crop Margins
      • Center Around Face
      • Unrecognizable Markers
  1. Recipe

Submit Recipe Job

Developing
POST
/recipe/job/submit
Submits an asynchronous recipe job for one or more images. Returns a job_id which can be used to poll for status and fetch results.
Example:

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Example
{
    "type": "RECIPE",
    "data": {
        "recipe_ids": [
            "recipe-id-1"
        ],
        "asset_detail": [
            {
                "url": "https://acme.s3.aws.com/image.jpg",
                "meta_data": {
                    "product_id": "string",
                    "product_name": "string",
                    "image_id": "string"
                }
            }
        ]
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://us1-api.crop.photo/v1/recipe/job/submit' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
    "type": "RECIPE",
    "data": {
        "recipe_ids": [
            "recipe-id-1"
        ],
        "asset_detail": [
            {
                "url": "https://acme.s3.aws.com/image.jpg",
                "meta_data": {
                    "product_id": "string",
                    "product_name": "string",
                    "image_id": "string"
                }
            }
        ]
    }
}'

Responses

🟢200Success
application/json
Bodyapplication/json

Example
{
    "id": "string",
    "poll": "/v1/recipe/job/poll/{job_id}",
    "result": "/v1/recipe/job/result/{job_id}",
    "isQueueUnderLoad": true
}
🟠400Invalid Input
🟠401Unauthorized
Modified at 2026-06-23 17:34:07
Previous
List Recipes
Next
Poll Recipe Job Status
Built with