AI Tools

Run an AI tool

Executes an AI tool by its slug and returns the generated content.

post/ai/tools/{slug}

Request

  • Base URL: https://socialbu.com/api/v1
  • URL: https://socialbu.com/api/v1/ai/tools/{slug}
  • Auth: HTTP bearer

Path parameters

slugstring required

The slug of the AI tool to run (e.g., tweet_generator).

Request body

team_idinteger nullable

Team ID (optional). If provided, content is generated under the team.

Response

AI tool executed successfully. Returns the generated content.

credit_costinteger

Number of AI credits consumed by this request (e.g. 1 for text tools, 30 for image tools).

Changes

No recorded changes to this operation across all 1 revision of this API.