Classification

Classify the Car Image

Changed on

The car image Classifier service categorizes all provided images. The supported categories are exterior, interior, engine, undercarriage, other. It is mandatory that the provided input image is a car image. If the image is not a car image, the service will not generate an error, and the result may not be relevant.

post/cars/classify

Request

  • Base URL
    https://api.picsart.io/tools/1.0
  • URL
    https://api.picsart.io/tools/1.0/cars/classify
  • Auth
    API key in header X-Picsart-API-Key

Request body multipart/form-data

imagestring binary

Source image file (binary). (If this parameter is present, the other image source parameters must be empty.)

image_urlstring uri

Source image URL. (If this parameter is present, the other image source parameters must be empty.)

image_idstring

Deprecated. Source image ID of an image previously uploaded to Picsart or result image ID from a different API. (If this parameter is present, the other image source parameters must be empty.)

model'urn:air:openai:model:openai:gpt-6-astra@1' | 'urn:air:openai:model:openai:gpt-6-sol@1' | 'urn:air:openai:model:openai:gpt-6-luna@1' | 'urn:air:openai:model:openai:gpt-5@1' | 'urn:air:openai:model:openai:gpt-5.1@1' | 'urn:air:openai:model:openai:gpt-5.2@1' | 'urn:air:openai:model:openai:gpt-5.4@1' | 'urn:air:openai:model:openai:gpt-5.4-mini@1' | 'urn:air:openai:model:openai:gpt-5.4-nano@1' | 'urn:air:openai:model:openai:gpt-5.5@1' | 'urn:air:openai:model:openai:gpt-5.6-luna@1' | 'urn:air:openai:model:openai:gpt-5.6-sol@1' | 'urn:air:openai:model:openai:gpt-5.6-terra@1' | 'urn:air:openai:model:openai:gpt-5-mini@1' | 'urn:air:openai:model:openai:gpt-4o@1' | 'urn:air:openai:model:openai:gpt-4o-mini@1' | 'urn:air:openai:model:openai:gpt-4.1-mini@1' | 'urn:air:openai:model:openai:gpt-4.1-nano@1' | 'urn:air:anthropic:model:anthropic:claude-haiku-4-5@1' | 'urn:air:anthropic:model:anthropic:claude-haiku-5-5@1' | 'urn:air:anthropic:model:anthropic:claude-sonnet-4-6@1' | 'urn:air:anthropic:model:anthropic:claude-opus-4-8@1' | 'urn:air:anthropic:model:anthropic:claude-sonnet-5@1' | 'urn:air:anthropic:model:anthropic:claude-sonnet-5-5@1' | 'urn:air:anthropic:model:anthropic:claude-fable-5@1' | 'urn:air:anthropic:model:anthropic:claude-fable-5-1@1' | 'urn:air:anthropic:model:anthropic:claude-opus-5@1' | 'urn:air:anthropic:model:anthropic:claude-opus-5-5@1' | 'urn:air:google:model:google:gemini-2.5-flash@1' | 'urn:air:google:model:google:gemini-3.5-flash@1' | 'urn:air:google:model:google:gemini-3.5-flash-lite@1' | 'urn:air:google:model:google:gemini-3.8-flash@1' | 'urn:air:google:model:google:gemini-3.7-flash@1' | 'urn:air:google:model:google:gemini-3.6-flash@1' | 'urn:air:google:model:google:gemini-3.1-flash-lite@1' | 'urn:air:google:model:google:gemini-3.1-pro-preview@1' | 'urn:air:google:model:google:gemini-4-argon@1' | 'urn:air:xai:model:xai:grok-4.7@1' | 'urn:air:kimi:model:kimi:kimi-k3@1' nullable

Optionally choose a specific AI model to use for this request. If not specified, a default model will be applied. Please note that the default model may change over time as Picsart continues to improve performance and accuracy. Any change to the default will be made only after thorough testing and validation to ensure it delivers better results. If you require consistent behavior or wish to evaluate different models on your own, we recommend explicitly setting this parameter.

Response

Success.

statusstring

Changes

    • breaking

      removed the enum value urn:air:anthropic:model:anthropic:claude-3-5-haiku-latest@1 of the request property ////

    • breaking

      removed the enum value urn:air:anthropic:model:anthropic:claude-3-5-sonnet-latest@1 of the request property ////

    • breaking

      removed the enum value urn:air:anthropic:model:anthropic:claude-3-7-sonnet-latest@1 of the request property ////

    • breaking

      removed the enum value urn:air:anthropic:model:anthropic:claude-opus-4-0@1 of the request property ////

    • breaking

      removed the enum value urn:air:anthropic:model:anthropic:claude-sonnet-4-0@1 of the request property ////

    • breaking

      removed the enum value urn:air:anthropic:model:anthropic:claude-sonnet-4-5-latest@1 of the request property ////

    • breaking

      removed the enum value urn:air:anthropic:model:anthropic:claude-sonnet-4-5@1 of the request property ////

    • breaking

      removed the enum value urn:air:google:model:google:gemini-2.0-flash-001@1 of the request property ////

    • breaking

      removed the enum value urn:air:google:model:google:gemini-2.0-flash-lite@1 of the request property ////

    • breaking

      removed the enum value urn:air:google:model:google:gemini-2.5-pro@1 of the request property ////

    • breaking

      removed the enum value urn:air:google:model:google:gemini-3-pro-preview@1 of the request property ////

    • breaking

      removed the enum value urn:air:openai:model:openai:gpt-4-turbo@1 of the request property ////

    • breaking

      removed the enum value urn:air:openai:model:openai:gpt-4.1@1 of the request property ////

    • breaking

      removed the enum value urn:air:openai:model:openai:gpt-5.1-chat@1 of the request property ////

    • breaking

      removed the enum value urn:air:openai:model:openai:gpt-o3@1 of the request property ////

    • warning

      the optional response header X-Correlation-Id removed for the status 400

    • warning

      the optional response header X-Correlation-Id removed for the status 401

    • warning

      the optional response header X-Correlation-Id removed for the status 403

    • warning

      the optional response header X-Correlation-Id removed for the status 404

    • warning

      the optional response header X-Correlation-Id removed for the status 405

    • warning

      the optional response header X-Correlation-Id removed for the status 413

    • warning

      the optional response header X-Correlation-Id removed for the status 415

    • warning

      the optional response header X-Correlation-Id removed for the status 429

    • warning

      the optional response header X-Correlation-Id removed for the status 431

    • warning

      the optional response header X-Correlation-Id removed for the status 500

    • warning

      the optional response header X-Correlation-Id removed for the status 503

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the new optional request property ////

    • info

      the request property default value changed from urn:air:openai:model:openai:gpt-5.1-chat@1 to urn:air:openai:model:openai:gpt-5.4-mini@1

    • info

      added the new urn:air:anthropic:model:anthropic:claude-fable-5-1@1 enum value to the request property ////

    • info

      added the new urn:air:anthropic:model:anthropic:claude-fable-5@1 enum value to the request property ////

    • info

      added the new urn:air:anthropic:model:anthropic:claude-haiku-5-5@1 enum value to the request property ////

    • info

      added the new urn:air:anthropic:model:anthropic:claude-opus-4-8@1 enum value to the request property ////

    • info

      added the new urn:air:anthropic:model:anthropic:claude-opus-5-5@1 enum value to the request property ////

    • info

      added the new urn:air:anthropic:model:anthropic:claude-opus-5@1 enum value to the request property ////

    • info

      added the new urn:air:anthropic:model:anthropic:claude-sonnet-5-5@1 enum value to the request property ////

    • info

      added the new urn:air:anthropic:model:anthropic:claude-sonnet-5@1 enum value to the request property ////

    • info

      added the new urn:air:google:model:google:gemini-3.1-flash-lite@1 enum value to the request property ////

    • info

      added the new urn:air:google:model:google:gemini-3.1-pro-preview@1 enum value to the request property ////

    • info

      added the new urn:air:google:model:google:gemini-3.5-flash-lite@1 enum value to the request property ////

    • info

      added the new urn:air:google:model:google:gemini-3.5-flash@1 enum value to the request property ////

    • info

      added the new urn:air:google:model:google:gemini-3.6-flash@1 enum value to the request property ////

    • info

      added the new urn:air:google:model:google:gemini-3.7-flash@1 enum value to the request property ////

    • info

      added the new urn:air:google:model:google:gemini-3.8-flash@1 enum value to the request property ////

    • info

      added the new urn:air:google:model:google:gemini-4-argon@1 enum value to the request property ////

    • info

      added the new urn:air:kimi:model:kimi:kimi-k3@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-4.1-nano@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-5.4-mini@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-5.4-nano@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-5.4@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-5.5@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-5.6-luna@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-5.6-sol@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-5.6-terra@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-6-astra@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-6-luna@1 enum value to the request property ////

    • info

      added the new urn:air:openai:model:openai:gpt-6-sol@1 enum value to the request property ////

    • info

      added the new urn:air:xai:model:xai:grok-4.7@1 enum value to the request property ////

    • info

      added the non-success response with the status