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

# Create Anti-AI order with URLs

> **Deprecated**: Use `/anti-ai` endpoint with `originalFileUrl` field instead.

Provide image URLs directly for processing.
- Processing starts immediately without presigned URL issuance
- Downloads and processes images from the provided URLs

## Zero Copy Mode
When `mode.zeroCopy: true`, processed results are uploaded directly to customer-provided presigned URLs.




## OpenAPI

````yaml /api-reference/openapi.yaml POST /api/v2/orders/anti-ai/with-urls
openapi: 3.0.0
info:
  title: BIZ MORI API
  version: 2.0.0
  description: |
    BIZ MORI API provides four core services for digital content protection:
    - **Anti-AI**: Protect images from AI training
    - **Watermark Embed**: Embed invisible digital watermarks into images
    - **Watermark Extract**: Extract and verify watermarks from images
    - **AI Detection**: Detect whether an image is AI-generated
  contact:
    name: BIZ MORI Support
    email: support@bizmori.com
servers:
  - url: https://api.bizmori.com
    description: Production
security: []
tags:
  - name: Anti-AI
    description: Anti-AI image protection orders
  - name: Watermark Embed
    description: Watermark embedding orders
  - name: Watermark Extract
    description: Watermark extraction orders
  - name: AI Detection
    description: AI-generated image detection orders
  - name: Orders
    description: Order query and management
  - name: Webhooks
    description: Webhook configuration and events
paths:
  /api/v2/orders/anti-ai/with-urls:
    post:
      tags:
        - Anti-AI
      summary: Create Anti-AI order with URLs
      description: >
        **Deprecated**: Use `/anti-ai` endpoint with `originalFileUrl` field
        instead.


        Provide image URLs directly for processing.

        - Processing starts immediately without presigned URL issuance

        - Downloads and processes images from the provided URLs


        ## Zero Copy Mode

        When `mode.zeroCopy: true`, processed results are uploaded directly to
        customer-provided presigned URLs.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - idempotencyKey
                - files
              properties:
                idempotencyKey:
                  type: string
                  description: Idempotency key
                orderName:
                  type: string
                  maxLength: 64
                  description: Order name (optional)
                files:
                  type: array
                  minItems: 1
                  maxItems: 100
                  items:
                    type: object
                    required:
                      - fileName
                      - imageUrl
                    properties:
                      fileName:
                        type: string
                        description: File name (with extension)
                        example: image.jpg
                      imageUrl:
                        type: string
                        format: uri
                        description: Image URL
                mode:
                  type: object
                  properties:
                    zeroCopy:
                      type: boolean
                      default: false
                outputTargets:
                  type: array
                  items:
                    type: object
                    required:
                      - fileKey
                      - url
                      - presignedUrlExpiresAt
                    properties:
                      fileKey:
                        type: string
                      url:
                        type: string
                        format: uri
                      presignedUrlExpiresAt:
                        type: string
                        format: date-time
                options:
                  $ref: '#/components/schemas/OrderOptions'
      responses:
        '200':
          description: Order created successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      orderName:
                        type: string
                      orderId:
                        type: string
                      status:
                        type: string
                        example: inProgress
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/UsageLimitExceeded'
      deprecated: true
      security:
        - BearerAuth: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: >-
            curl -X POST https://api.bizmori.com/api/v2/orders/anti-ai/with-urls
            \
              -H "Authorization: Bearer YOUR_API_TOKEN" \
              -H "Content-Type: application/json" \
              -d '{
                "idempotencyKey": "key-url-001",
                "files": [
                  {
                    "fileName": "image1.jpg",
                    "imageUrl": "https://example.com/image1.jpg"
                  }
                ],
                "options": {"strength": "high"}
              }'
        - lang: javascript
          label: JavaScript
          source: >-
            const response = await
            fetch('https://api.bizmori.com/api/v2/orders/anti-ai/with-urls', {
              method: 'POST',
              headers: {
                'Authorization': 'Bearer YOUR_API_TOKEN',
                'Content-Type': 'application/json'
              },
              body: JSON.stringify({
                idempotencyKey: 'key-url-001',
                files: [
                  {
                    fileName: 'image1.jpg',
                    imageUrl: 'https://example.com/image1.jpg'
                  }
                ],
                options: { strength: 'high' }
              })
            });

            const data = await response.json();
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.post(
                'https://api.bizmori.com/api/v2/orders/anti-ai/with-urls',
                headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
                json={
                    'idempotencyKey': 'key-url-001',
                    'files': [
                        {
                            'fileName': 'image1.jpg',
                            'imageUrl': 'https://example.com/image1.jpg'
                        }
                    ],
                    'options': {'strength': 'high'}
                }
            )
            data = response.json()
components:
  schemas:
    OrderOptions:
      type: object
      properties:
        strength:
          type: string
          enum:
            - low
            - standard
            - high
          default: high
          description: |
            Protection strength level
            * low - Low protection strength
            * standard - Standard protection strength
            * high - High protection strength
    ErrorResponse:
      type: object
      properties:
        code:
          type: string
          description: Error code
  responses:
    BadRequest:
      description: Bad request
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: VALIDATION_FAILED
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: AUTH_NOT_AUTHENTICATED
    UsageLimitExceeded:
      description: Usage limit exceeded
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: USAGE_LIMIT_EXCEEDED
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: API Key for external client access

````