1. Agent tools
Spicy API: NSFW AI Image and Video Generation API Docs
  • Core
    • List Models
      GET
    • Get Account
      GET
  • Images
    • Create Image
      POST
    • Edit Image
      POST
    • List Images
      GET
  • Moderation
    • Check a Prompt
      POST
  • Video
    • Create Video
      POST
    • Get Video Task
      GET
  • Chat
    • Create Chat Completion
      POST
  • Agent tools
    • List every agent tool with its argument schema, whether it is guarded (needs approval_token) and whether it works with no balance.
      GET
    • List models
      POST
    • Estimate cost
      POST
    • Get account
      POST
    • List images
      POST
    • Generate image
      POST
    • Edit image
      POST
    • Generate video
      POST
    • Get job
      POST
    • List jobs
      POST
    • Get usage
      POST
    • Create API key
      POST
    • Revoke API key
      POST
    • Get top-up link
      POST
    • Set spend limit
      POST
    • Read acceptable use policy
      POST
  1. Agent tools

Get account

POST
https://api.spicyapi.com/api/v1/tools/get_account
Balance in USD, spend this calendar month, the monthly spend limit if set, whether approvals are skipped for agents, whether the account has ever topped up, the webhook URL, and whether this key is a sandbox key. Call it first and before any spend. Works with a $0 balance.

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/json

Examples

Responses

🟢200
The tool's JSON result (same payload the MCP tool returns).
This response does not have a body.
🟠400
🟠401
🟠402
🟠403
🟠429
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.spicyapi.com/api/v1/tools/get_account' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
Modified at 2026-09-21 21:07:45
Previous
Estimate cost
Next
List images
Built with