View as Markdown
astica.ai icon

astica.ai ACTION

Text To Speech

Convert text to voice audio with Astica AI See the documentation
  • Action
  • Read only
  • API key
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's astica.ai account once, then configure and run Text To Speech from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "astica_ai-text-to-speech",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    astica_ai: { authProvisionId: "apn_xxxxxxx" },
    text: "Text",
    filename: "Target Filename",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Text To Speech inputs
Property Type Description
text Text string
The text to be spoken
Required
filename Target Filename string
The filename that will be used to save in /tmp
Required
language Language / Dialect string
Select the language/dialect to use
Optional
voice Voice string
Select the voice to use
Optional Dynamic
syncDir SyncDir dir
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
astica_ai-text-to-speech
Version
0.0.3
App
astica.ai
Authentication
API key
Read-only
Yes
Destructive
No
Open world
Yes