F Fashio Docs
Generation Tools

Amateur to Professional

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

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

FieldTypeDescription
toolIdstringrequiredAlways "amateur_to_pro".
images.user_photostringrequiredURL of the casual/phone source photo to upgrade.
ratiostringoptionalOne of 1:1, 4:5, 3:4, 9:16, 16:9. Defaults to 1:1.

Example request

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"
  }'
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();
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{ "success": true, "id": "8b1e...", "status": "processing" }

Poll GET /v1/generations/:id (see Quickstart) until it completes:

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

Common errors

StatusMeaning
400amateur_to_pro: missing required image "user_photo" — required image field wasn't resolvable.
402Insufficient diamonds. Required 4, have <n>.
429Daily request cap reached for this key — see Rate Limits.