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

# Quickstart

> Generate your first piece of content in under 5 minutes

## Quick Example

Generate a single image from text in three simple steps:

### Step 1: Generate Content

Submit a content generation job:

```bash theme={null}
curl -X POST https://api.distylia.com/api/v1/process-text-async \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "10 tips for better productivity",
    "format": "image",
    "visualTemplate": "infographic"
  }'
```

Response:

```json theme={null}
{
  "success": true,
  "message": "Text processing job created successfully",
  "data": {
    "jobId": "abc123",
    "status": "pending"
  }
}
```

### Step 2: Check Status

Poll the job status:

```bash theme={null}
curl https://api.distylia.com/api/job-status/abc123
```

Response:

```json theme={null}
{
  "success": true,
  "data": {
    "id": "abc123",
    "status": "completed",
    "progress": 100
  }
}
```

### Step 3: Get Results

Retrieve the generated content:

```bash theme={null}
curl https://api.distylia.com/api/job-result/abc123
```

Response includes the content URLs, caption, hashtags, and metadata.

## Next Steps

<CardGroup cols={2}>
  <Card title="API Reference" icon="book" href="/api-reference/generate-content">
    Explore all available endpoints
  </Card>

  <Card title="Visual Templates" icon="palette" href="/visual-templates">
    Learn about different visual styles
  </Card>
</CardGroup>
