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

# Check prompt compliance

> Scan a caption, ad copy, draft script, or other text against a platform's current TOS / Community Guidelines. Returns a risk score with cited policy clauses. Informational only, not legal advice. 100/day rate limit.



## OpenAPI

````yaml /openapi/spec.json post /v1/compliance/prompt
openapi: 3.0.0
info:
  title: VidJutsu API
  version: '2026-07-22'
  description: >-
    VidJutsu is a video API built for agents to operate directly. Your agent can
    clone viral trending skits now: stage a trending clip with
    /v1/videos/download/tiktok or /v1/videos/download/instagram, check it for
    cloneability, generate a character and a clean starting frame, then render
    the clone. Kling 3.0 Motion Control is the supported clone-video model and
    preserves the source soundtrack.
servers:
  - url: https://api.vidjutsu.ai
    description: Production
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Assets
  - name: Editor Projects
  - name: Scrape
  - name: Videos
  - name: Billing
  - name: API Keys
  - name: Usage
  - name: Info
  - name: Pricing
  - name: Subscriptions
  - name: Auth
  - name: Accounts
  - name: Posts
  - name: References
  - name: Upload
  - name: Watch
  - name: Extract
  - name: Transcribe
  - name: Check
  - name: Compliance
  - name: Overlay
  - name: Disclaimer
  - name: Agent
  - name: Characters
  - name: Cloning
    description: >-
      Your agent can Clone Viral Trending Skits Now. These endpoints check
      whether a staged source video is worth cloning, generate the character and
      starting frame, and render and poll the final clone video.
paths:
  /v1/compliance/prompt:
    post:
      tags:
        - Compliance
      summary: Check prompt compliance
      description: >-
        Scan a caption, ad copy, draft script, or other text against a
        platform's current TOS / Community Guidelines. Returns a risk score with
        cited policy clauses. Informational only, not legal advice. 100/day rate
        limit.
      operationId: checkCompliancePrompt
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompliancePromptRequest'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ComplianceCheckResponse'
        '403':
          description: >-
            HTTP 403 Forbidden — a valid API key with no active subscription
            called a gated endpoint. Body is the standard ApiError with
            error="subscription_required".
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
        '429':
          description: >-
            HTTP 429 Too Many Requests — a per-endpoint daily rate limit was
            exceeded. The limit window is fixed and resets at 00:00 UTC. Body is
            the standard ApiError; a Retry-After header carries the seconds
            until reset.
          headers:
            Retry-After:
              required: false
              schema:
                type: integer
                format: int32
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiError'
components:
  schemas:
    CompliancePromptRequest:
      type: object
      required:
        - text
        - platform
      properties:
        text:
          type: string
          description: >-
            The text to evaluate — caption, ad copy, draft script, upload
            description, etc.
        platform:
          type: string
          enum:
            - youtube
            - tiktok
            - instagram
            - meta-ads
            - ftc
        kind:
          type: string
          enum:
            - caption
            - script
            - ad-copy
            - description
            - other
          description: Optional label for logs; does not affect rule selection.
        context:
          allOf:
            - $ref: '#/components/schemas/ComplianceContext'
          description: >-
            Optional publication metadata that affects risk (caption, hashtags,
            monetization intent).
    ComplianceCheckResponse:
      type: object
      required:
        - riskScore
        - verdict
        - violations
        - platform
        - policySnapshotDate
        - disclaimer
      properties:
        riskScore:
          type: integer
          format: int32
          description: >-
            Composite risk score 0-100 computed deterministically from violation
            severities.
        verdict:
          type: string
          enum:
            - safe
            - caution
            - high-risk
            - likely-violation
        violations:
          type: array
          items:
            $ref: '#/components/schemas/ComplianceViolation'
        platform:
          type: string
          enum:
            - youtube
            - tiktok
            - instagram
            - meta-ads
            - ftc
        policySnapshotDate:
          type: string
          description: >-
            ISO date of the newest active policy snapshot this scan was
            evaluated against.
        disclaimer:
          type: string
          description: Informational disclaimer. This response is not legal advice.
    ApiError:
      type: object
      required:
        - error
        - message
      properties:
        error:
          type: string
        message:
          type: string
        setup:
          type: string
    ComplianceContext:
      type: object
      properties:
        caption:
          type: string
        hashtags:
          type: array
          items:
            type: string
        monetized:
          type: boolean
    ComplianceViolation:
      type: object
      required:
        - ruleId
        - category
        - severity
        - explanation
        - citation
        - evidence
      properties:
        ruleId:
          type: string
          description: Stable identifier of the matched rule in our compliance corpus.
        category:
          type: string
          description: >-
            Rule category, e.g. monetization, community-guidelines, ad-policy,
            copyright, minors.
        severity:
          type: string
          enum:
            - low
            - medium
            - high
            - critical
        explanation:
          type: string
          description: >-
            Plain-language reasoning tying the video to the cited rule.
            Informational, not legal advice.
        citation:
          $ref: '#/components/schemas/ComplianceCitation'
        evidence:
          $ref: '#/components/schemas/ComplianceEvidence'
    ComplianceCitation:
      type: object
      required:
        - text
        - sourceUrl
        - policyVersion
      properties:
        text:
          type: string
          description: Exact quoted clause from the platform's policy page.
        sourceUrl:
          type: string
          description: 'URL to the source policy page (may include #anchor).'
        policyVersion:
          type: string
          description: >-
            ISO date (YYYY-MM-DD) of the policy snapshot this citation was drawn
            from.
    ComplianceEvidence:
      type: object
      properties:
        timestamp:
          type: number
          format: double
          description: Timestamp (seconds) in the source video where the evidence appears.
        transcriptExcerpt:
          type: string
          description: Relevant transcript excerpt, if any.
        visualDescription:
          type: string
          description: Short description of the visual evidence, if any.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer

````