Typed Dagger functions for three explicit, metered Brainiall jobs:
- text to WAV with 54 voices across nine languages;
- PDF to Markdown or JSON for documentation, search, RAG, and LLM pipelines.
- one company domain to source-backed website metadata candidates through the public Brainiall Company Enrichment Actor on Apify.
The module also exposes an unauthenticated health function so you can verify
the service before creating a key. API keys use Dagger's Secret type and are
never accepted as ordinary string parameters.
dagger -m github.com/fasuizu-br/brainiall-dagger-workflows@v1.2.0 call healthCreate a Brainiall key at app.brainiall.com, export it only in your shell, and return the generated WAV to the host:
export BRAINIALL_API_KEY='replace-with-your-key'
dagger -m github.com/fasuizu-br/brainiall-dagger-workflows@v1.2.0 \
call synthesize \
--api-key=env:BRAINIALL_API_KEY \
--text='Olá, este áudio foi criado em um pipeline Dagger.' \
--voice=pf_dora \
--speed=1 \
export --path=./speech.wavdagger -m github.com/fasuizu-br/brainiall-dagger-workflows@v1.2.0 \
call pdf-to-markdown \
--api-key=env:BRAINIALL_API_KEY \
--pdf=./manual.pdf \
--page-range=1-20 \
--output-format=markdown \
export --path=./manual.mdOnly the file passed to --pdf is uploaded. The API is external and metered;
review current pricing and data-handling terms before processing sensitive
documents. The module does not contain a Brainiall key or an Apify token.
Create a scoped Apify token that can run only the
vivid_astronaut/company-enrichment
Actor. The function accepts one domain, caps the run at one result and US$0.02,
and returns the Actor's JSON array:
export APIFY_TOKEN='replace-with-a-scoped-token'
dagger -m github.com/fasuizu-br/brainiall-dagger-workflows@v1.2.0 \
call enrich-company \
--apify-token=env:APIFY_TOKEN \
--domain=example.com \
export --path=./company.jsonThe run is charged by Apify to the account associated with the supplied token.
Review the Actor's current pricing before running it. Prefer a resource-scoped
token; never commit or paste a token into module arguments or repository files.
The module requires exactly one semantically valid, source-backed result and
adds integrationSource=daggerverse-c9. Candidate fields are not authoritative
registry facts.
dagger functions
dagger call healthApache-2.0.