Skip to content

The open-source AI voice studio. Clone, dictate, create.

docs(api): note format/chapters params on the export-audio endpoints

jamiepine32ea50b74598
diff --git a/docs/content/docs/developer/history.mdx b/docs/content/docs/developer/history.mdx
index 55c17ba9..5ed4a25d 100644
--- a/docs/content/docs/developer/history.mdx
+++ b/docs/content/docs/developer/history.mdx
@@ -206,7 +206,7 @@ The import process:
| GET | `/history/{id}` | Get generation by ID |
| DELETE | `/history/{id}` | Delete generation |
| GET | `/history/{id}/export` | Export as ZIP |
-| GET | `/history/{id}/export-audio` | Export audio only |
+| GET | `/history/{id}/export-audio` | Export audio only (`?format=wav\|mp3`; mp3 needs ffmpeg, else 503) |
| POST | `/history/import` | Import from ZIP |
### Query Parameters
diff --git a/docs/content/docs/developer/stories.mdx b/docs/content/docs/developer/stories.mdx
index 84d50b87..46a5557d 100644
--- a/docs/content/docs/developer/stories.mdx
+++ b/docs/content/docs/developer/stories.mdx
@@ -265,7 +265,7 @@ async def export_story_audio(story_id: str, db: Session) -> bytes:
| POST | `/stories/{id}/items/{item_id}/duplicate` | Duplicate item |
| PUT | `/stories/{id}/items/times` | Batch update times |
| PUT | `/stories/{id}/items/reorder` | Reorder items |
-| GET | `/stories/{id}/export-audio` | Export mixed audio |
+| GET | `/stories/{id}/export-audio` | Export mixed audio (`?format=wav\|m4b\|mp3&chapters=none\|auto`; m4b/mp3 need ffmpeg, else 503) |
## Response Schemas