[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"api-page:itsrose-photo-studio-api":3,"api-discussions:itsrose-photo-studio-api":309},{"status":4,"api":5,"seo":304},"success",{"blocked":6,"description":7,"about":8,"stats":9,"name":11,"title":12,"slug":13,"logo":14,"created_at":15,"agent":16,"user":27,"endpoint_groups":30,"faqs":217,"features":233,"periodic_plans":234,"payasyougo_plans":297,"releases":298,"last_updated":300,"createdAtText":303},false,"Generative visual AI studio: background removal, clothes segmentation, outpainting, portrait expressions, and hairstyles.","**Full-featured AI Photo Studio for visual editing and creative workflows.**\n\nEquip your application with studio-grade visual tools: automatic background removal, canvas outpainting, apparel segmentation, facial expression editing, image restoration, and hairstyle changing.\n\n### Included Capabilities\n- **Background Removal (`/v1/remove-bg`)**: Neural boundary detection cleanly separates subjects, clothing, and fine hair strands from backgrounds.\n- **Image Restoration (`/v1/restore-image`)**: Restores compression artifacts, sharpens details, and applies intelligent denoising.\n- **AI Outpainting (`/v1/outpaint`)**: Expands image canvas beyond original borders using ratio or pixel dimensions.\n- **Apparel Segmentation (`/v1/segment-clothes`)**: Detects and isolates clothing pieces (tops, dresses, pants, accessories) with individual masks.\n- **Expression Generation (`/v1/expression`)**: Adds subtle, photorealistic smiles and expressions to portrait faces.\n- **Hairstyle Changer (`/v1/hairstyle`)**: Virtual salon previewing diverse haircut transformations.\n- **Task Polling (`/v1/task`)**: Async query endpoint for long-running GPU operations (free of charge).\n\n### How It Runs\nRequests terminate at the JoJ gateway at the edge. The worker routes requests to GPU cluster nodes. Failed requests or validation errors return HTTP 4xx/5xx with `x-jojapi-edits-used: 0`.\n\n### Limitations\n- Inputs must be valid public image URLs or Base64 data strings.\n- Task status endpoint is unmetered (0 edits) to encourage reliable polling.",{"score":10},null,"AI Photo Studio","AI Photo Studio API","itsrose-photo-studio-api","https://cdn.jojapi.com/api/62f6f957-ea1d-4eef-a0b8-3a136474911b","2026-11-10 18:38:57",{"enabled":17,"closed":10,"request_enabled":17,"catalog_url":18,"discovery_url":19,"directory_url":20,"rails":21,"networks":24,"docs":26},true,"https://photo-studio.jojapi.net/_jojapi/agent/plans","https://photo-studio.jojapi.net/.well-known/x402","https://agents.jojapi.net/apis/itsrose-photo-studio-api",[22,23],"x402","mpp",[25],"eip155:8453","https://docs.jojapi.com/consumers/agents",{"nick":28,"name":29,"verified":6,"website":10},"frieren","David",[31],{"endpoints":32,"name":216,"description":40,"ungrouped":6},[33,77,100,123,145,168,191],{"blocked":6,"hidden":6,"deprecation":10,"agent_price":34,"credits":10,"flexible_credits_description":10,"consumptions":35,"description":41,"method":42,"name":43,"url_path":44,"root_url":45,"parameters":46,"responses":61,"result_stats":10},0.01,[36],{"name":37,"slug":38,"cost":39,"label":40,"avg":10},"Edits","edits","1","","Isolate subjects and automatically remove background from an image.","POST","Remove Background","/v1/remove-bg","https://photo-studio.jojapi.net",{"url":47,"header":48,"post":55,"body":56,"path":60},[],[49],{"key":50,"is_auth":17,"example":51,"example_disabled":17,"example_type":52,"name":53,"description":51,"required":17,"always_error":54},"X-JoJAPI-Key","You must log in to get API key","string","JoJ API Key","Please log in to get API key",[],[57],{"key":10,"example":58,"schema":59,"example_disabled":6,"example_type":52,"value_type":52,"enum_values":10,"default_value":40,"required":6,"name":10,"description":10},"{\"init_image\":\"https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg\",\"sync_timeout\":30}","{\"type\":\"object\",\"properties\":{\"init_image\":{\"anyOf\":[{\"title\":\"url\",\"type\":\"string\",\"format\":\"uri\"},{\"title\":\"base64\",\"type\":\"string\",\"format\":\"base64\",\"contentEncoding\":\"base64\",\"pattern\":\"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$\"}],\"description\":\"The URL or base64 string of the image to be used as the initial image.\",\"example\":\"https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg\"},\"sync_timeout\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":60,\"description\":\"Synchronized waiting timeout (seconds). -1 means return immediately with a task ID. Default 30.\",\"example\":30}},\"required\":[\"init_image\",\"sync_timeout\"]}",[],[62,68,73],{"status":63,"status_code":64,"description":65,"schema":66,"examples":67,"example":40},"200",200,"Default Response","{\"type\":\"object\",\"properties\":{\"ok\":{\"type\":\"boolean\",\"enum\":[true],\"title\":\"Success indicator\",\"description\":\"Indicates that the response represents a successful operation.\"},\"code\":{\"type\":\"number\",\"title\":\"Response code\",\"description\":\"The numeric code representing the success status.\"},\"message\":{\"type\":\"string\",\"title\":\"Response message\",\"description\":\"A human-readable message providing additional information.\"},\"data\":{\"type\":\"object\",\"properties\":{\"status\":{\"type\":\"string\",\"enum\":[\"not_started\",\"in_progress\",\"completed\",\"failed\"],\"description\":\"Task execution status\"},\"task_id\":{\"type\":\"string\",\"description\":\"Unique identifier of the task\"},\"media_list\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"description\":\"List of generated media result URLs\"}},\"required\":[\"status\",\"task_id\",\"media_list\"]},\"errors\":{\"type\":\"string\",\"nullable\":true,\"enum\":[null],\"title\":\"No errors on success responses\",\"description\":\"The errors field is always null for success responses.\"},\"meta\":{\"default\":{},\"title\":\"Metadata\",\"description\":\"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.\",\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"ok\",\"code\",\"message\",\"data\",\"errors\",\"meta\"],\"additionalProperties\":false}",[],{"status":69,"status_code":69,"description":70,"schema":71,"examples":72,"example":40},"4XX","Client Error","{\"type\":\"object\",\"properties\":{\"ok\":{\"type\":\"boolean\",\"enum\":[false],\"title\":\"Failure indicator\",\"description\":\"Indicates that the response represents a failed operation.\"},\"code\":{\"type\":\"number\",\"title\":\"Response code\",\"description\":\"The numeric code representing the failure status.\"},\"message\":{\"type\":\"string\",\"title\":\"Response message\",\"description\":\"A human-readable message providing additional information.\"},\"data\":{\"type\":\"string\",\"nullable\":true,\"enum\":[null],\"title\":\"No data on failure responses\",\"description\":\"The data field is always null for failure responses.\"},\"errors\":{\"default\":{},\"title\":\"Error details\",\"description\":\"The errors field contains details about the failure. It is optional and may be omitted if no additional error information is provided.\",\"type\":\"object\",\"additionalProperties\":{}},\"meta\":{\"default\":{},\"title\":\"Metadata\",\"description\":\"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.\",\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"ok\",\"code\",\"message\",\"data\",\"errors\",\"meta\"],\"additionalProperties\":false,\"description\":\"Representing a failed response.\",\"title\":\"Failure Response Schema\"}",[],{"status":74,"status_code":74,"description":75,"schema":71,"examples":76,"example":40},"5XX","Server Error",[],{"blocked":6,"hidden":6,"deprecation":10,"agent_price":34,"credits":10,"flexible_credits_description":10,"consumptions":78,"description":80,"method":42,"name":81,"url_path":82,"root_url":45,"parameters":83,"responses":93,"result_stats":10},[79],{"name":37,"slug":38,"cost":39,"label":40,"avg":10},"High-definition image quality restoration and denoising.","Restore Image","/v1/restore-image",{"url":84,"header":85,"post":87,"body":88,"path":92},[],[86],{"key":50,"is_auth":17,"example":51,"example_disabled":17,"example_type":52,"name":53,"description":51,"required":17,"always_error":54},[],[89],{"key":10,"example":90,"schema":91,"example_disabled":6,"example_type":52,"value_type":52,"enum_values":10,"default_value":40,"required":6,"name":10,"description":10},"{\"init_image\":\"https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg\",\"ir_mode\":\"xiuxiu-ultra-hd\",\"save_photo_format\":\"png\",\"use_denoise\":false,\"use_hd_face_opt\":true,\"sync_timeout\":30}","{\"type\":\"object\",\"properties\":{\"init_image\":{\"anyOf\":[{\"title\":\"url\",\"type\":\"string\",\"format\":\"uri\"},{\"title\":\"base64\",\"type\":\"string\",\"format\":\"base64\",\"contentEncoding\":\"base64\",\"pattern\":\"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$\"}],\"description\":\"The URL or base64 string of the image to be used as the initial image.\",\"example\":\"https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg\"},\"ir_mode\":{\"description\":\"Effect mode\",\"type\":\"string\",\"enum\":[\"wink-ultra-hd\",\"xiuxiu-ultra-hd\"]},\"save_photo_format\":{\"description\":\"Output image format\",\"type\":\"string\",\"enum\":[\"jpg\",\"png\"]},\"use_denoise\":{\"description\":\"Background repair flag.\",\"type\":\"boolean\"},\"use_hd_face_opt\":{\"description\":\"Portrait Repair Upgrade flag.\",\"type\":\"boolean\"},\"sync_timeout\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":60,\"description\":\"Synchronized waiting timeout (seconds). -1 means return immediately with a task ID. Default 30.\",\"example\":30}},\"required\":[\"init_image\",\"sync_timeout\"],\"title\":\"Image Restoration Request Schema\"}",[],[94,96,98],{"status":63,"status_code":64,"description":65,"schema":66,"examples":95,"example":40},[],{"status":69,"status_code":69,"description":70,"schema":71,"examples":97,"example":40},[],{"status":74,"status_code":74,"description":75,"schema":71,"examples":99,"example":40},[],{"blocked":6,"hidden":6,"deprecation":10,"agent_price":34,"credits":10,"flexible_credits_description":10,"consumptions":101,"description":103,"method":42,"name":104,"url_path":105,"root_url":45,"parameters":106,"responses":116,"result_stats":10},[102],{"name":37,"slug":38,"cost":39,"label":40,"avg":10},"Expand canvas boundaries beyond the original frame using generative AI. Exlusive field *oneOf*: - `expand_ratio`: Expands the image canvas uniformly on all sides using a single ratio value. - `free_expand_ratio`: Expands the image canvas independently on each side using per-side ratio values. Use this when the subject is off-center or asymmetric padding is required. - `free_expand_pixel`: Expands the image canvas by an absolute pixel count on each side. Use this when you need precise control over the output image dimensions.","AI Outpainting","/v1/outpaint",{"url":107,"header":108,"post":110,"body":111,"path":115},[],[109],{"key":50,"is_auth":17,"example":51,"example_disabled":17,"example_type":52,"name":53,"description":51,"required":17,"always_error":54},[],[112],{"key":10,"example":113,"schema":114,"example_disabled":6,"example_type":52,"value_type":52,"enum_values":10,"default_value":40,"required":6,"name":10,"description":10},"{\"init_image\":\"https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg\",\"expand_ratio\":0.5,\"sync_timeout\":30}","{\"type\":\"object\",\"properties\":{\"init_image\":{\"anyOf\":[{\"title\":\"url\",\"type\":\"string\",\"format\":\"uri\"},{\"title\":\"base64\",\"type\":\"string\",\"format\":\"base64\",\"contentEncoding\":\"base64\",\"pattern\":\"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$\"}],\"description\":\"The URL or base64 string of the image to be used as the initial image.\",\"example\":\"https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg\"},\"expand_ratio\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1,\"multipleOf\":0.1,\"description\":\"Accepts a value between `0.0` and `1.0` in increments of `0.1`.\\n\\nThe final canvas size is calculated as: `original_size × (1 + ratio × 2)`.\\n\\n| Value | Width & Height Scale |\\n|-------|----------------------|\\n| `0.1` | 120% of original     |\\n| `0.3` | 160% of original     |\\n| `0.5` | 200% of original     |\\n| `1.0` | 300% of original     |\"},\"free_expand_ratio\":{\"type\":\"object\",\"properties\":{\"left\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1,\"multipleOf\":0.1,\"description\":\"Expansion ratio for the left side. Range: `0.0` – `1.0`.\"},\"right\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1,\"multipleOf\":0.1,\"description\":\"Expansion ratio for the right side. Range: `0.0` – `1.0`.\"},\"top\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1,\"multipleOf\":0.1,\"description\":\"Expansion ratio for the top side. Range: `0.0` – `1.0`.\"},\"bottom\":{\"type\":\"number\",\"minimum\":0,\"maximum\":1,\"multipleOf\":0.1,\"description\":\"Expansion ratio for the bottom side. Range: `0.0` – `1.0`.\"}},\"required\":[\"left\",\"right\",\"top\",\"bottom\"],\"title\":\"Per-Side Expansion Ratios\",\"description\":\"Defines independent expansion ratios for each side of the image. \\n- `left` and `right` are proportional to the original width. \\n- `top` and `bottom` are proportional to the original height.\"},\"free_expand_pixel\":{\"type\":\"object\",\"properties\":{\"left\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":2048,\"description\":\"Pixels to add to the left side. Range: `0` – `2048`.\"},\"right\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":2048,\"description\":\"Pixels to add to the right side. Range: `0` – `2048`.\"},\"top\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":2048,\"description\":\"Pixels to add to the top side. Range: `0` – `2048`.\"},\"bottom\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":2048,\"description\":\"Pixels to add to the bottom side. Range: `0` – `2048`.\"}},\"required\":[\"left\",\"right\",\"top\",\"bottom\"],\"title\":\"Per-Side Expansion Pixels\",\"description\":\"Defines the exact number of pixels to add to each side of the image canvas. Provides pixel-level precision for layouts where exact output dimensions are required.\"},\"text\":{\"type\":\"string\",\"description\":\"Outpainting text prompt guidance\"},\"sync_timeout\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":60,\"description\":\"Synchronized waiting timeout in seconds.\",\"example\":30}},\"required\":[\"init_image\",\"sync_timeout\"],\"title\":\"Outpainting Request\"}",[],[117,119,121],{"status":63,"status_code":64,"description":65,"schema":66,"examples":118,"example":40},[],{"status":69,"status_code":69,"description":70,"schema":71,"examples":120,"example":40},[],{"status":74,"status_code":74,"description":75,"schema":71,"examples":122,"example":40},[],{"blocked":6,"hidden":6,"deprecation":10,"agent_price":34,"credits":10,"flexible_credits_description":10,"consumptions":124,"description":126,"method":42,"name":127,"url_path":128,"root_url":45,"parameters":129,"responses":137,"result_stats":10},[125],{"name":37,"slug":38,"cost":39,"label":40,"avg":10},"Detect, isolate, and extract apparel categories and segmentation masks.","Segment Clothing & Apparel","/v1/segment-clothes",{"url":130,"header":131,"post":133,"body":134,"path":136},[],[132],{"key":50,"is_auth":17,"example":51,"example_disabled":17,"example_type":52,"name":53,"description":51,"required":17,"always_error":54},[],[135],{"key":10,"example":58,"schema":59,"example_disabled":6,"example_type":52,"value_type":52,"enum_values":10,"default_value":40,"required":6,"name":10,"description":10},[],[138,141,143],{"status":63,"status_code":64,"description":65,"schema":139,"examples":140,"example":40},"{\"type\":\"object\",\"properties\":{\"ok\":{\"type\":\"boolean\",\"enum\":[true],\"title\":\"Success indicator\",\"description\":\"Indicates that the response represents a successful operation.\"},\"code\":{\"type\":\"number\",\"title\":\"Response code\",\"description\":\"The numeric code representing the success status.\"},\"message\":{\"type\":\"string\",\"title\":\"Response message\",\"description\":\"A human-readable message providing additional information.\"},\"data\":{\"type\":\"object\",\"properties\":{\"segmentation_mask\":{\"type\":\"array\",\"items\":{\"type\":\"string\",\"format\":\"uri\"},\"description\":\"Array of segmentation mask URLs\"},\"labels\":{\"type\":\"array\",\"items\":{\"type\":\"object\",\"properties\":{\"label\":{\"type\":\"string\",\"enum\":[\"background\",\"headpiece\",\"hair\",\"gloves\",\"glasses\",\"top\",\"dress\",\"coat\",\"socks\",\"pants\",\"skin\",\"scarf etc.\",\"skirt\",\"face\",\"shoes\",\"bag\",\"accessories\",\"jumpsuit\",\"mannequin_stand\"],\"description\":\"Possible labels for segmented clothing items\"},\"n_label\":{\"type\":\"string\",\"description\":\"Numeric label for the segmented clothing item\"},\"url\":{\"type\":\"string\",\"format\":\"uri\",\"description\":\"URL of the segmented clothing item\"}},\"required\":[\"label\",\"n_label\",\"url\"],\"additionalProperties\":false},\"description\":\"Array of segmented clothing items\"}},\"required\":[\"segmentation_mask\",\"labels\"],\"additionalProperties\":{}},\"errors\":{\"type\":\"string\",\"nullable\":true,\"enum\":[null],\"title\":\"No errors on success responses\",\"description\":\"The errors field is always null for success responses.\"},\"meta\":{\"default\":{},\"title\":\"Metadata\",\"description\":\"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.\",\"type\":\"object\",\"additionalProperties\":{}}},\"required\":[\"ok\",\"code\",\"message\",\"data\",\"errors\",\"meta\"],\"additionalProperties\":false}",[],{"status":69,"status_code":69,"description":70,"schema":71,"examples":142,"example":40},[],{"status":74,"status_code":74,"description":75,"schema":71,"examples":144,"example":40},[],{"blocked":6,"hidden":6,"deprecation":10,"agent_price":34,"credits":10,"flexible_credits_description":10,"consumptions":146,"description":148,"method":42,"name":149,"url_path":150,"root_url":45,"parameters":151,"responses":161,"result_stats":10},[147],{"name":37,"slug":38,"cost":39,"label":40,"avg":10},"Modify portrait expressions with natural smiles, laughs, and dimple effects.","Generate Facial Expression","/v1/expression",{"url":152,"header":153,"post":155,"body":156,"path":160},[],[154],{"key":50,"is_auth":17,"example":51,"example_disabled":17,"example_type":52,"name":53,"description":51,"required":17,"always_error":54},[],[157],{"key":10,"example":158,"schema":159,"example_disabled":6,"example_type":52,"value_type":52,"enum_values":10,"default_value":40,"required":6,"name":10,"description":10},"{\"init_image\":\"https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg\",\"smile_mode\":0,\"sync_timeout\":30}","{\"type\":\"object\",\"properties\":{\"init_image\":{\"anyOf\":[{\"title\":\"url\",\"type\":\"string\",\"format\":\"uri\"},{\"title\":\"base64\",\"type\":\"string\",\"format\":\"base64\",\"contentEncoding\":\"base64\",\"pattern\":\"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$\"}],\"description\":\"The URL or base64 string of the image to be used as the initial image.\",\"example\":\"https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg\"},\"smile_mode\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":5,\"description\":\"Smile mode:\\n\\n- 0: Laughing\\n- 1: Smile\\n- 2: Pursed lips smile\\n- 3: Cool\\n- 4: Classic smile with dimples\\n- 5: Dimples secondary effect\"},\"cooler_flag\":{\"description\":\"Lips cooler interface flag (0: Default, 1: Enabled)\",\"type\":\"integer\",\"minimum\":0,\"maximum\":1},\"wb_flag\":{\"description\":\"White balance post-processing flag (0: Disabled, 1: Enabled)\",\"type\":\"integer\",\"minimum\":0,\"maximum\":1},\"sync_timeout\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":60,\"description\":\"Synchronized waiting timeout (seconds). -1 means return immediately with a task ID. Default 30.\",\"example\":30}},\"required\":[\"init_image\",\"smile_mode\",\"sync_timeout\"],\"title\":\"Expression Generation Request Schema\"}",[],[162,164,166],{"status":63,"status_code":64,"description":65,"schema":66,"examples":163,"example":40},[],{"status":69,"status_code":69,"description":70,"schema":71,"examples":165,"example":40},[],{"status":74,"status_code":74,"description":75,"schema":71,"examples":167,"example":40},[],{"blocked":6,"hidden":6,"deprecation":10,"agent_price":34,"credits":10,"flexible_credits_description":10,"consumptions":169,"description":171,"method":42,"name":172,"url_path":173,"root_url":45,"parameters":174,"responses":184,"result_stats":10},[170],{"name":37,"slug":38,"cost":39,"label":40,"avg":10},"Apply virtual haircuts, colors, and styling variations to portrait photos. List `hair_type`: [   '0',         '1',         '2',         '3',         '4',   '5',         '6',         '7',         '8',         '9',   '10',        '11',        '12',        '13',        '14',   '15',        '17',        '5-2',       '5-3',       '5-7',   '5-19',      '5-21',      '13-3',      '13-4',      '13-5',   '6-1',       '7-4',       '7-5',       '8-1',       '8-19',   '8-21',      '9-3',       '9-4',       '9-6',       '9-7',   '9-11',      '9-12',      '9-13',      '9-17',      '9-22',   '9-25',      '15-17',     '15-18',     '20-11',     '20-12',   '20-13',     'mail_0',    'mail_1',    'mail_2',    'mail_3',   'mail_4',    'mail_5',    'mail_6',    '1_II',      '2_II',   '5_II',      '6_II',      '7_II',      '10_II',     '11_II',   '13_II',     '15_II',     '17_II',     '0_II',      '3_II',   '4_II',      '8_II',      '9_II',      '12_II',     '14_II',   '21_II',     '22_II',     '23_II',     '24_II',     '25_II',   '26_II',     '27_II',     '28_II',     '29_II',     '30_II',   'mail_0_II', 'mail_1_II', 'mail_2_II', 'mail_3_II', 'mail_4_II',   'mail_5_II', 'mail_6_II' ]","Hairstyle Transformation","/v1/hairstyle",{"url":175,"header":176,"post":178,"body":179,"path":183},[],[177],{"key":50,"is_auth":17,"example":51,"example_disabled":17,"example_type":52,"name":53,"description":51,"required":17,"always_error":54},[],[180],{"key":10,"example":181,"schema":182,"example_disabled":6,"example_type":52,"value_type":52,"enum_values":10,"default_value":40,"required":6,"name":10,"description":10},"{\"init_image\":\"https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg\",\"hair_type\":\"0\",\"sync_timeout\":30}","{\"type\":\"object\",\"properties\":{\"init_image\":{\"anyOf\":[{\"title\":\"url\",\"type\":\"string\",\"format\":\"uri\"},{\"title\":\"base64\",\"type\":\"string\",\"format\":\"base64\",\"contentEncoding\":\"base64\",\"pattern\":\"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$\"}],\"description\":\"The URL or base64 string of the image to be used as the initial image.\",\"example\":\"https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg\"},\"hair_type\":{\"type\":\"string\",\"description\":\"Specifies the target hairstyle to apply. See Example rendered visual for more detail.\"},\"sync_timeout\":{\"type\":\"number\",\"minimum\":-1,\"maximum\":60,\"description\":\"Synchronized waiting timeout (seconds). -1 means return immediately with a task ID. Default 30.\",\"example\":30}},\"required\":[\"init_image\",\"hair_type\",\"sync_timeout\"],\"title\":\"Versatile Hairstyle Request\"}",[],[185,187,189],{"status":63,"status_code":64,"description":65,"schema":66,"examples":186,"example":40},[],{"status":69,"status_code":69,"description":70,"schema":71,"examples":188,"example":40},[],{"status":74,"status_code":74,"description":75,"schema":71,"examples":190,"example":40},[],{"blocked":6,"hidden":6,"deprecation":10,"agent_price":10,"credits":10,"flexible_credits_description":10,"consumptions":192,"description":195,"method":196,"name":197,"url_path":198,"root_url":45,"parameters":199,"responses":209,"result_stats":10},[193],{"name":37,"slug":38,"cost":194,"label":40,"avg":10},"0","Query processing status and download media for an asynchronous task. Free of charge.","GET","Get Task Status","/v1/task",{"url":200,"header":204,"post":206,"body":207,"path":208},[201],{"key":202,"example":40,"schema":10,"example_disabled":6,"example_type":52,"value_type":52,"enum_values":10,"default_value":40,"required":17,"name":40,"description":203},"task_id","Task id.",[205],{"key":50,"is_auth":17,"example":51,"example_disabled":17,"example_type":52,"name":53,"description":51,"required":17,"always_error":54},[],[],[],[210,212,214],{"status":63,"status_code":64,"description":65,"schema":66,"examples":211,"example":40},[],{"status":69,"status_code":69,"description":70,"schema":71,"examples":213,"example":40},[],{"status":74,"status_code":74,"description":75,"schema":71,"examples":215,"example":40},[],"Photo Studio",[218,221,224,227,230],{"question":219,"answer":220},"How does synchronous vs asynchronous task execution work?","Send sync_timeout (e.g. 30 seconds) to wait for the completed image. For longer pipelines, pass sync_timeout: -1 to receive an immediate task_id and poll /v1/task.",{"question":222,"answer":223},"Does polling /v1/task consume my plan quota?","No. The /v1/task status endpoint is configured at 0 edits and is completely free to poll.",{"question":225,"answer":226},"What apparel categories can clothes segmentation isolate?","It detects tops, dresses, coats, pants, skirts, shoes, bags, accessories, hair, face, and generates clean individual alpha masks.",{"question":228,"answer":229},"How do outpainting expansion modes work?","You can specify a uniform expansion ratio (e.g. 0.5 for 200% canvas size), independent per-side ratios, or exact pixel padding counts.",{"question":231,"answer":232},"How are failed requests billed?","Any failed or invalid request returning 4xx or 5xx bills 0 edits. Units are only deducted for successful 200 responses.",[],[235,253,264,275,286],{"type":236,"slug":237,"blocked":6,"period":238,"currency":239,"pricing":240,"rate_limit":244,"objects":247,"name":251,"display_name":251,"features":252},"periodic","jwc7lhnkmlil3w2iecytsddt","1 MONTH","usd",{"price":241,"credits":241,"past_due_timeout_num":242,"past_due_timeout_type":243},0,3,"DAY",{"max_requests":245,"time_window":246},180,60,[248],{"id":249,"name":37,"slug":38,"quota":250,"tiers":10},"n79e1af6b",100,"Free",[],{"type":236,"slug":254,"blocked":6,"period":238,"currency":239,"pricing":255,"rate_limit":257,"objects":259,"name":262,"display_name":262,"features":263},"oy4qvczrnzmd1498jksn2ypo",{"price":256,"credits":241,"past_due_timeout_num":242,"past_due_timeout_type":243},15,{"max_requests":258,"time_window":246},600,[260],{"id":249,"name":37,"slug":38,"quota":261,"tiers":10},2000,"Starter",[],{"type":236,"slug":265,"blocked":6,"period":238,"currency":239,"pricing":266,"rate_limit":268,"objects":270,"name":273,"display_name":273,"features":274},"li06yh4a1qkpqi0ktmk1owl1",{"price":267,"credits":241,"past_due_timeout_num":242,"past_due_timeout_type":243},49,{"max_requests":269,"time_window":246},1500,[271],{"id":249,"name":37,"slug":38,"quota":272,"tiers":10},8000,"Growth",[],{"type":236,"slug":276,"blocked":6,"period":238,"currency":239,"pricing":277,"rate_limit":279,"objects":281,"name":284,"display_name":284,"features":285},"hoaiqw66d54x2438329zx6u5",{"price":278,"credits":241,"past_due_timeout_num":242,"past_due_timeout_type":243},149,{"max_requests":280,"time_window":246},3600,[282],{"id":249,"name":37,"slug":38,"quota":283,"tiers":10},28000,"Scale",[],{"type":236,"slug":287,"blocked":6,"period":238,"currency":239,"pricing":288,"rate_limit":290,"objects":292,"name":295,"display_name":295,"features":296},"07f6e588vdi9op575dtv6a85",{"price":289,"credits":241,"past_due_timeout_num":242,"past_due_timeout_type":243},399,{"max_requests":291,"time_window":246},7200,[293],{"id":249,"name":37,"slug":38,"quota":294,"tiers":10},90000,"Business",[],[],[299],{"date":300,"kind":301,"note":302},"2026-11-10 18:41:01","promote","Initial release","2026-11-10",{"canonical":305,"page_title":306,"meta":307},"https://jojapi.com/hub/api/itsrose-photo-studio-api","AI Photo Studio API Documentation & Playground - JoJ API",{"description":7,"keywords":308},"API,API Documentation,API Playground,Plans & Pricing,AI Photo Studio,frieren",{"status":4,"discussions":310},[]]