Skip to content
FoodPhoto.ai
Developer Docs

API Documentation

Integrate FoodPhoto.ai into your workflow with our REST API

Quick Start

Get started with the FoodPhoto.ai API in minutes.

1. Get API Key

Generate an API key from your dashboard settings.

2. Make Request

Send your image with desired preset and options.

3. Get Results

Receive webhook or poll for completed results.

Example Request

curl -X POST https://api.foodphoto.ai/v1/jobs \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image_url": "https://example.com/my-food-photo.jpg",
    "preset": "uber_eats",
    "enhancements": {
      "lighting": true,
      "background_removal": true,
      "upscale": 2
    },
    "callback_url": "https://your-server.com/webhook"
  }'

The API returns a job ID immediately. Results are delivered via webhook or can be polled.

Endpoints

POST/api/jobsCreate a new enhancement job
GET/api/jobs/:idGet job status and results
GET/api/jobsList all jobs
DELETE/api/jobs/:idCancel a pending job
POST/api/uploadUpload an image
GET/api/presetsList available presets

Ready to integrate?

Get your API key and start building.

Go to Dashboard
API Documentation - FoodPhoto.ai