# AC Woodcut > Model `ac-woodcut` on the Advanced Computing gateway API. Output: image. ## Request POST https://advanced-computing.com/api/v1/generations Authorization: Bearer Send `{ "model": "ac-woodcut", "input": { ... } }`. The request is asynchronous: it returns 202 with a generation object; poll `GET https://advanced-computing.com/api/v1/generations/{id}` or pass `webhook_url` to be called when it finishes. ## Input fields Unknown fields are rejected with a 400 error. `mode` is required: it names how to generate, and each mode takes its own fields (fields ending in `_url` or `_urls` are input assets). ### Mode `text` - `mode` (string; required; One of: text). How to generate. Each mode takes its own fields. - `prompt` (string; required; 1 to 2000 characters). What the picture shows. The model sets the style, so describe the subject and scene, not the style. Text in the picture may come out garbled. - `negative_prompt` (string; optional; Up to 2000 characters). What the output should avoid. - `resolution` (string; required; One of: 1K, 2K). Resolution of the output. - `aspect_ratio` (string; required; One of: 1:1, 4:3, 3:4, 16:9, 9:16). Width to height ratio of the output. - `seed` (integer; optional; 0 to 2147483647). Fixes the random seed, so the same input repeats its output. ### Mode `reference` - `mode` (string; required; One of: reference). How to generate. Each mode takes its own fields. - `prompt` (string; required; 1 to 2000 characters). What the picture shows. The model sets the style, so describe the subject and scene, not the style. Text in the picture may come out garbled. - `reference_image_urls` (array; required; Exactly 1 items). The photo to restyle. Works best with a single subject, such as a person, an animal or an object; a busy scene may come back little changed. Each is an HTTPS URL, or a data URI of at most 10 MB; data URIs total at most 20 MB per request. - `resolution` (string; required; One of: 1K, 2K). Resolution of the output. - `aspect_ratio` (string; required; One of: 1:1, 4:3, 3:4, 16:9, 9:16). Width to height ratio of the output. - `seed` (integer; optional; 0 to 2147483647). Fixes the random seed, so the same input repeats its output. ## Example requests ### Mode `text` ```bash curl https://advanced-computing.com/api/v1/generations \ -H "Authorization: Bearer $AC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "ac-woodcut", "input": { "mode": "text", "prompt": "A knight on horseback before a hilltop castle", "resolution": "1K", "aspect_ratio": "4:3" } }' ``` ### Mode `reference` ```bash curl https://advanced-computing.com/api/v1/generations \ -H "Authorization: Bearer $AC_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "ac-woodcut", "input": { "mode": "reference", "prompt": "A dog looking at the camera", "reference_image_urls": [ "https://example.com/photo.jpg" ], "resolution": "1K", "aspect_ratio": "16:9" } }' ```