Skip to content

Upload a blob directly with on-the-fly moderation. Supports both authenticated requests (Bearer token) and presigned URLs (sig query param).

POST
/v2/consumer/blobs

Parameters

Query Parameters

public

Store the blob in the public tier and return a durable, unsigned URL for it. Privileged callers only: nothing gates a read of that URL, so a block decided after the fact cannot take it back.

Type
boolean

Responses

Created

application/json
JSON

Playground

Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Civitai Developer Documentation