Complete reference for Solo Works REST API. Use these endpoints to integrate AI image editing into your applications.Updated: 2026-03-05
Copy the prompt below and paste it to your AI assistant (ChatGPT, Claude, etc.) to get started quickly.
Read https://soloworks.app/llms.txt and tell me how to use these APIs, with code examples.
https://soloworks.app/api/v1Authorization: Bearer sk_live_YOUR_API_KEYThis is a standard REST API. Use GET for reading data and POST for executing workflows. All responses are JSON. Image inputs accept HTTP/HTTPS URLs or base64 data URLs.
Quick Start
GET /api/v1/workflows — Discover available workflowsGET /api/v1/workflows/:id — Get required inputs for a workflowPOST /api/v1/workflows/:id/execute — Execute with your images and parametersGET /api/v1/executions/:id — Poll until status is completed| Name | Type | In | Required | Description |
|---|---|---|---|---|
| tag | string | query | Optional | Optional tag to filter workflows (e.g., 'fashion', 'product'). |
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| id | string | path | Required | The workflow ID to retrieve details for. |
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| id | string | path | Required | The workflow ID to execute (path parameter). |
| images | Record<string, string> | body | Required | Image inputs as fieldId → url or base64. URLs are automatically downloaded by the server. |
| texts | Record<string, string> | body | Optional | Text inputs as key-value pairs: fieldId → optionId (for preset fields) or free text. |
| switchSelections | Record<string, string[]> | body | Optional | Switch/selection inputs as switchFieldId → [optionId]. |
| globalOverrides | { aspectRatio?: string, imageSize?: string } | body | Optional | Optional output overrides. aspectRatio: "1:1", "2:3", "3:2", "3:4", "4:3", "9:16", "16:9", "21:9". imageSize: "1K" or "2K". |
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| id | string | path | Required | The execution ID returned by the execute endpoint. |
This endpoint requires no parameters.
These workflows are currently available via the API. Use the workflow ID with the endpoints above.
| ID | Name | Tags | credits |
|---|---|---|---|
79c9e172-637f-44db-9beb-39092ff4d462 | 單色棚拍風 | FashionModel | 4 |