> ## Documentation Index
> Fetch the complete documentation index at: https://docs.adskull.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Anthropic-compatible messages endpoint

> Use this with Claude Code, openclaw, and any Anthropic SDK by changing ANTHROPIC_BASE_URL.



## OpenAPI

````yaml /api/openapi.yaml post /anthropic/v1/messages
openapi: 3.1.0
info:
  title: AdSkull Public API
  version: 1.0.0
  summary: Public API for AdSkull creative generation.
  description: >
    Create AI ad assets, images, videos, voiceovers, custom voices, and talking
    avatars.

    Responses expose AdSkull product resources.
servers:
  - url: https://api.adskull.io
security:
  - bearerAuth: []
tags:
  - name: Account
  - name: Models
  - name: Assets
  - name: Images
  - name: Videos
  - name: Voices
  - name: Talking Avatars
  - name: Webhooks
  - name: LLM
  - name: LLM OpenAI Compat
  - name: LLM Anthropic Compat
paths:
  /anthropic/v1/messages:
    post:
      tags:
        - LLM Anthropic Compat
      summary: Anthropic-compatible messages endpoint
      description: >-
        Use this with Claude Code, openclaw, and any Anthropic SDK by changing
        ANTHROPIC_BASE_URL.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
      responses:
        '200':
          description: Anthropic-shaped message or SSE stream.
          content:
            application/json:
              schema:
                type: object
            text/event-stream:
              schema:
                type: string
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API key

````