# Sandbox Mode

You can make up to 1,000 free calls by month to the Image Editing API using sandbox mode (the max per day is 100 calls).

Sandbox mode is meant to be used for testing and prototyping, and will produce an image with a watermark.

{% hint style="info" %}
All the features of the Image Editing API are available in sandbox mode, including AI features such as [AI Backgrounds](https://docs.photoroom.com/image-editing-api-plus-plan/ai-backgrounds), [AI Shadows](https://docs.photoroom.com/image-editing-api-plus-plan/ai-shadows) or [AI Expand](https://docs.photoroom.com/image-editing-api-plus-plan/ai-expand).&#x20;
{% endhint %}

To use sandbox mode, prepend `sandbox_` to your API key. (Example: `sandbox_xxxxxxxxxxxxxxxx`)

```bash
curl --request POST \
  --url https://image-api.photoroom.com/v2/edit \
  --header 'x-api-key: sandbox_xxxxxxxxxxxxxxxx' \
  --form imageFile=@/path/to/image.jpg \
  --form shadow.mode=ai.soft \
  --form background.color=FFFFFF \
  --form padding=0.1 \
  --output result-sandbox-mode.png
```

<a href="https://try-api.photoroom.com/?shadow.mode=ai.soft&#x26;background.color=FFFFFF&#x26;padding=0.1" class="button primary">Try it now!</a>

| ![](https://2855892273-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1SYxn7dWbQYsNtUdJE3f%2Fuploads%2FSfNyqw4ZvJfkjQhTrCtu%2Fshoes.jpeg?alt=media\&token=3d01688a-b234-4a5e-badf-5b99d4a3df53) | ![](https://2855892273-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1SYxn7dWbQYsNtUdJE3f%2Fuploads%2Fo1fM80rxroasyKbU19Xn%2Fregular-call.jpeg?alt=media\&token=f233879f-b629-49e8-8ead-459d0ed5cecb) | ![](https://2855892273-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1SYxn7dWbQYsNtUdJE3f%2Fuploads%2Fyy1Bz22OwlRKGHrNhZKR%2Fsandbox-call.jpeg?alt=media\&token=617655cb-7064-4e62-abd0-bea47715f498) |
| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
|                                                                                                  *(original image)*                                                                                                  |                                                                                                      *regular API call*                                                                                                     |                                                                                                   *sandbox mode API call*                                                                                                   |
