```python
from fastapi import FastAPI, Body, status
from pydantic import BaseModel
import asyncio
import helpers  # noqa: F401  (the provided API)

app = FastAPI()


class DocumentCreate(BaseModel):
    name: str
    text: str


@app.post("/documents", status_code=status.HTTP_201_CREATED)
async def create_document(doc: DocumentCreate = Body(...)):
    # Run the blocking helper in a thread pool to avoid blocking the event loop
    byte_count = await asyncio.to_thread(helpers.save_document, doc.name, doc.text)
    return {"bytes": byte_count}
```