> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mynth.io/llms.txt
> Use this file to discover all available pages before exploring further.

# One obsession

> Use One obsession with the Mynth SDK or REST API. Capabilities, negative prompts, and generation examples.

```text Model ID theme={"theme":"kanagawa-dragon"}
maxfeifei8/one-obsession
```

See pricing & more on [mynth.io](https://mynth.io/models/maxfeifei8%2Fone-obsession).

## Capabilities

|                      |               |
| -------------------- | ------------- |
| **Modes**            | Text-to-image |
| **Inputs**           | None          |
| **Native auto size** | No            |
| **Magic prompt**     | Supported     |
| **Negative prompt**  | Yes           |

## Generate

<CodeGroup>
  ```ts Mynth SDK theme={"theme":"kanagawa-dragon"}
  import Mynth from "@mynthio/sdk";

  const mynth = new Mynth();

  const task = await mynth.image.generate({
    prompt: "masterpiece, best quality, 1girl, silver hair, dramatic lighting, anime style",
    negative_prompt: "worst quality, low quality, bad anatomy, text, watermark",
    model: "maxfeifei8/one-obsession",
    size: "portrait",
    count: 1,
  });

  console.log(task.urls);
  ```

  ```bash REST API theme={"theme":"kanagawa-dragon"}
  curl https://api.mynth.io/image/generate \
    -X POST \
    -H "Authorization: Bearer $MYNTH_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "prompt": "masterpiece, best quality, 1girl, silver hair, dramatic lighting, anime style",
      "negative_prompt": "worst quality, low quality, bad anatomy, text, watermark",
      "model": "maxfeifei8/one-obsession",
      "size": "portrait",
      "count": 1
    }'
  ```
</CodeGroup>
