Вайб-Маркетолог Account API

Token-scoped account data

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 8

POST /generate/estimate Dry-run cost estimate incl. affordability (spends 0 RUB). #
GET /me Token info #
GET /balance RUB balance and daily spend #
GET /usage Usage stats #
GET /generations List generations #
GET /generation/{id}/status Generation status #
GET /voices Voice catalog #
POST /safety-check Moderate a prompt before generation #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/vibemarketolog-ru:vibemarketolog-ru-account-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

vibemarketolog-ru-account-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Вайб-Маркетолог Agent Account API
  version: 1.0.0
  description: 'Agent API for AI agents: generate video/image/music/voice/text with 170+ neural models, run Yandex Direct autopilot. Discovery (capabilities, prices, estimate) is open; spending actions require a Bearer token issued in the dashboard (https://lk.vibemarketolog.ru/#agent). Token scopes: read, generate, write, autopilot, yandex. Per-token daily spend limit (default 500 RUB). Auth guide: /auth.md.'
  contact:
    name: Вайб-Маркетолог
    url: https://vibemarketolog.ru
servers:
- url: https://lk.vibemarketolog.ru/api/agent
  description: Production
security:
- AgentBearer: []
tags:
- name: Account
  description: Token-scoped account data
paths:
  /generate/estimate:
    post:
      tags:
      - Account
      summary: Dry-run cost estimate incl. affordability (spends 0 RUB).
      operationId: estimate
      x-required-scope: read
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GenerateRequest'
      responses:
        '200':
          description: Estimate
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EstimateResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /me:
    get:
      tags:
      - Account
      summary: Token info
      operationId: me
      x-required-scope: read
      responses:
        '200':
          description: Token/user info
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /balance:
    get:
      tags:
      - Account
      summary: RUB balance and daily spend
      operationId: balance
      x-required-scope: read
      responses:
        '200':
          description: Balance
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Balance'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /usage:
    get:
      tags:
      - Account
      summary: Usage stats
      operationId: usage
      x-required-scope: read
      responses:
        '200':
          description: Usage
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /generations:
    get:
      tags:
      - Account
      summary: List generations
      operationId: generations
      x-required-scope: read
      responses:
        '200':
          description: List; each item includes display_url — a permanent link to the stored file
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  total:
                    type: integer
                  generations:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: integer
                        type:
                          type: string
                        model:
                          type:
                          - string
                          - 'null'
                        prompt:
                          type:
                          - string
                          - 'null'
                        status:
                          type: string
                        cost:
                          type: number
                        display_url:
                          type:
                          - string
                          - 'null'
                          description: Permanent link to the stored file (https://lk.vibemarketolog.ru/newuser/file/{id}); null until the file is saved locally.
                        result_urls:
                          type:
                          - array
                          - 'null'
                          items:
                            type: string
                        created_at:
                          type:
                          - string
                          - 'null'
                          format: date-time
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /generation/{id}/status:
    get:
      tags:
      - Account
      summary: Generation status
      operationId: generationStatus
      x-required-scope: read
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GenerationResult'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          description: Not found
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /voices:
    get:
      tags:
      - Account
      summary: Voice catalog
      operationId: voices
      x-required-scope: read
      responses:
        '200':
          description: Voices
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
  /safety-check:
    post:
      tags:
      - Account
      summary: Moderate a prompt before generation
      operationId: safetyCheck
      x-required-scope: read
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                prompt:
                  type: string
              required:
              - prompt
      responses:
        '200':
          description: Verdict
          content:
            application/json:
              schema:
                type: object
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  responses:
    ValidationError:
      description: Поля запроса не прошли проверку; разбор — в details (validation_failed)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Forbidden:
      description: У ключа нет нужного права либо адрес запроса не в списке разрешённых (insufficient_scope / ip_not_allowed)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Превышена частота запросов или суточный лимит траты ключа (rate_limit_exceeded / daily_spend_limit_exceeded)
      headers:
        Retry-After:
          schema:
            type: integer
          description: Через сколько секунд повторить
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: Ключ не передан, недействителен, отозван или истёк (missing_token / invalid_token)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    InternalError:
      description: Внутренняя ошибка сервиса; повторите позже и сообщите request_id (internal_error)
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      description: Единый ответ об ошибке публичного API. Схема одинакова для всех методов и всех кодов.
      required:
      - status
      - error
      - message
      - request_id
      additionalProperties: true
      properties:
        status:
          type: string
          const: error
          description: Всегда "error".
        error:
          type: string
          description: Стабильный машинный код ошибки.
          examples:
          - missing_token
          - invalid_token
          - insufficient_scope
          - ip_not_allowed
          - not_found
          - method_not_allowed
          - validation_failed
          - invalid_url
          - insufficient_balance
          - daily_spend_limit_exceeded
          - rate_limit_exceeded
          - already_running
          - generation_failed
          - tool_failed
          - ai_unavailable
          - internal_error
        message:
          type: string
          description: 'Человекочитаемое объяснение на русском: что не так и что сделать.'
        details:
          type: object
          description: 'Разбор по полям для ошибок валидации: имя поля → список сообщений.'
          additionalProperties:
            type: array
            items:
              type: string
        request_id:
          type: string
          format: uuid
          description: Идентификатор вызова. Назовите его в обращении в поддержку — по нему находится запись в журнале.
    GenerationResult:
      type: object
      properties:
        id:
          type: string
        status:
          type: string
        type:
          type: string
        model:
          type: string
        cost_rub:
          type: number
        result:
          type: object
        display_url:
          type:
          - string
          - 'null'
          description: Permanent link to the stored result file (https://lk.vibemarketolog.ru/newuser/file/{id}); null until the file is saved locally. Show this to users — the provider result_url expires.
        file_url:
          type:
          - string
          - 'null'
          description: Same permanent /newuser/file/{id} link as display_url; null until the file is saved locally.
    GenerateRequest:
      type: object
      required:
      - type
      - model
      properties:
        type:
          type: string
          enum:
          - video
          - image
          - voice
          - music
          - text
          description: Content type (discriminator).
        model:
          type: string
          description: Model id. Valid values come from GET /capabilities.
        prompt:
          type: string
        params:
          type: object
          description: Per-type parameters; see /capabilities for per-model schema.
        webhook_url:
          type: string
          format: uri
          description: Optional; result is POSTed here with an X-Vibe-Signature header.
        idempotency_key:
          type: string
          description: De-duplicates charges across retries.
        strict:
          type: boolean
          description: Validate parameters before charging.
    Balance:
      type: object
      properties:
        balance:
          type: number
        balance_real:
          type: number
        balance_bonus:
          type: number
        daily_spend_limit:
          type: number
        daily_spend_today:
          type: number
        daily_spend_remaining:
          type: number
    EstimateResponse:
      type: object
      properties:
        type:
          type: string
        model:
          type: string
        estimated_cost_rub:
          type: number
        currency:
          type: string
        sufficient_balance:
          type: boolean
        daily_limit_remaining_rub:
          type: number
  securitySchemes:
    AgentBearer:
      type: http
      scheme: bearer
      bearerFormat: oc_<user_id>_<random>
      description: Bearer token issued manually in the dashboard (https://lk.vibemarketolog.ru/#agent). No self-registration. Sent in the Authorization header only. Validated by SHA-256 hash, with is_active, expiry, scope and optional IP allow-list checks.