# Amateur to Professional

For AI agents: this is the Markdown version of https://docs.fashiolabs.com/tools/amateur_to_pro.html. The index of all Fashio API docs is at https://docs.fashiolabs.com/llms.txt, and the complete reference in one file is at https://docs.fashiolabs.com/llms-full.txt.

Turn a casual phone photo of a garment or outfit into a polished, studio-quality product photo — same subject, same framing, professional lighting and retouching.

`toolId: "amateur_to_pro"` · 4 credits · single\_image\_edit · ratio: global (default 1:1)

![Amateur to Professional result — casual phone photo upgraded to a studio-quality product shot](https://firebasestorage.googleapis.com/v0/b/fashio-ai-app.firebasestorage.app/o/fal_outputs%2FpYs_32YDt2cDsffLXKNTh.jpg?alt=media&token=7c49da0e-0c7a-42bd-b327-902074dc5493)

## What it does

Upload a quick phone photo — a garment on a hanger, laid on a bed, worn in a mirror selfie, whatever you have on hand — and Fashio produces a clean, professional-looking version of the exact same shot: same garment, same framing, but with studio-grade lighting, color and retouching applied.

## Request body

| Field | Type |  | Description |
| --- | --- | --- | --- |
| `toolId` | string | required | Always `"amateur_to_pro"`. |
| `images.user_photo` | string | required | URL of the casual/phone source photo to upgrade. |
| `ratio` | string | optional | One of `1:1`, `4:5`, `3:4`, `9:16`, `16:9`. Defaults to `1:1`. |

## Example request

**cURL**

```bash
curl -X POST https://api.fashiolabs.com/v1/generations \
  -H "Authorization: Bearer fio_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "toolId": "amateur_to_pro",
    "images": {
      "user_photo": "https://your-cdn.com/phone-photo.jpg"
    },
    "ratio": "1:1"
  }'
```

**Node.js**

```javascript
const res = await fetch("https://api.fashiolabs.com/v1/generations", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.FASHIO_API_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    toolId: "amateur_to_pro",
    images: {
      user_photo: "https://your-cdn.com/phone-photo.jpg",
    },
    ratio: "1:1",
  }),
});
const { id } = await res.json();
```

**Python**

```python
import os, requests

res = requests.post(
    "https://api.fashiolabs.com/v1/generations",
    headers={"Authorization": f"Bearer {os.environ['FASHIO_API_KEY']}"},
    json={
        "toolId": "amateur_to_pro",
        "images": {
            "user_photo": "https://your-cdn.com/phone-photo.jpg",
        },
        "ratio": "1:1",
    },
)
job_id = res.json()["id"]
```

## Response

**202 Accepted**

```json
{ "success": true, "id": "8b1e...", "status": "processing" }
```

Poll `GET /v1/generations/:id` (see [Quickstart](https://docs.fashiolabs.com/quickstart.md)) until it completes:

**200 · completed**

```json
{
  "success": true,
  "id": "8b1e...",
  "status": "completed",
  "resultUrls": ["https://.../result.jpg"],
  "errorMessage": null
}
```

## Common errors

| Status | Meaning |
| --- | --- |
| 400 | `amateur_to_pro: missing required image "user_photo"` — required image field wasn't resolvable. |
| 402 | `Insufficient diamonds. Required 4, have <n>.` |
| 429 | Daily request cap reached for this key — see [Rate Limits](https://docs.fashiolabs.com/rate-limits.md). |

## Related tools

- [Enhance / Upscale](https://docs.fashiolabs.com/tools/photo_enhance.md) — sharpen and upscale an existing photo without a full re-shoot look.
- [Mannequin to Flat Lay](https://docs.fashiolabs.com/tools/model_to_flat_lay.md) — convert an on-model shot into a flat-lay product image instead.

---

Source: https://docs.fashiolabs.com/tools/amateur_to_pro.html · OpenAPI spec: https://docs.fashiolabs.com/openapi.yaml · Docs index: https://docs.fashiolabs.com/llms.txt
