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

# F13 API

> Generate production-ready SVG from a text prompt with the F13 model

Describe a graphic in plain language; the API streams back clean, scalable
SVG. OpenAI-style in shape - bearer keys, versioned REST, server-sent
events, idempotency - so it will feel familiar.

## Base URL

```text theme={null}
https://api.f13.com
```

## What you can do today

* [Quickstart - create an API key and stream your first SVG in a few minutes.](https://docs.f13.com/quickstart.md)
* [Authentication - how API keys work: scopes, formats, and handling them safely.](https://docs.f13.com/authentication.md)
* [Streaming - how the SSE stream is framed and how to consume it.](https://docs.f13.com/streaming.md)
* [API reference - full request and response reference for every endpoint.](https://docs.f13.com/api-reference/introduction.md)

## A minimal request

```bash theme={null}
curl https://api.f13.com/v1/generations \
  -H "Authorization: Bearer $F13_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "a minimal line-art icon of a paper plane"
  }'
```

The response streams as server-sent events while the SVG is generated, ending
in a final event with the stored asset and usage metadata. See
[Streaming](https://docs.f13.com/streaming.md) for the full event flow.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.