Skip to main content
POST
/civitai/models/search

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required
Required range: x >= 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
query
string | null
tag
string | null
username
string | null
types
enum<string>[] | null
Available options:
Checkpoint,
TextualInversion,
Hypernetwork,
AestheticGradient,
LORA,
LoCon,
DoRA,
Controlnet,
Upscaler,
MotionModule,
VAE,
Poses,
Wildcards,
Workflows,
Detection,
Other
sort
enum<string> | null
Available options:
Highest Rated,
Most Downloaded,
Most Liked,
Most Discussed,
Most Collected,
Most Images,
Newest,
Oldest
period
enum<string> | null
Available options:
AllTime,
Year,
Month,
Week,
Day
base_models
string[] | null
checkpoint_type
enum<string> | null
Available options:
Trained,
Merge
allow_commercial_use
enum<string>[] | null
Available options:
None,
Image,
Rent,
RentCivit,
Sell
primary_file_only
boolean
default:false
nsfw
boolean | null

Response

Successful Response

id
integer
required
@type
string
default:CivitaiModel
name
string | null
model_type
string | null
is_nsfw
boolean
default:false
nsfw_level
integer | null
is_minor
boolean
default:false
is_sfw_only
boolean
default:false
is_poi
boolean
default:false
availability
string | null
user_id
integer | null
base_models
string[]
supports_generation
boolean
default:false
allow_no_credit
boolean
default:false
allow_commercial_use
string[]
allow_derivatives
boolean
default:false
allow_different_license
boolean
default:false
cosmetic
object | null
download_count
integer | null
thumbs_up_count
integer | null
thumbs_down_count
integer | null
comment_count
integer | null
tipped_amount_count
number | null
creator
object | null
tags
string[]
model_versions
object[]
url
string | null