Download OpenAPI specification:
limit | integer <int64> [ 0 .. 200 ] Default: 20 The number of results to be returned per page. This can be a number between 0 and 200. By default, each page will return 20 results. If set to 0, it'll return all the creators. |
page | integer <int64> The page from which to start fetching creators. |
query | string Search query to filter creators by username. |
{- "items": [
- {
- "username": "Civitai",
- "modelCount": 848,
- "image": "string"
}
], - "metadata": {
- "totalItems": 46,
- "currentPage": 2,
- "pageSize": 3,
- "totalPages": 16,
}
}
limit | integer <int64> [ 0 .. 200 ] Default: 100 The number of results to be returned per page. |
postId | integer <int64> The ID of a post to get images from. |
modelId | integer <int64> The ID of a model to get images from (model gallery). |
modelVersionId | integer <int64> The ID of a model version to get images from (model gallery filtered to version). |
username | string Filter to images from a specific user. |
nsfw | boolean Filter to images that contain mature content flags or not (undefined returns both). |
sort | string Enum: "Most Reactions" "Most Comments" "Newest" The order in which you wish to sort the results. |
period | string Enum: "AllTime" "Year" "Month" "Week" "Day" The time frame in which the images will be sorted. |
page | integer <int64> The page from which to start fetching creators. |
{- "items": [
- {
- "id": 0,
- "url": "string",
- "nsfw": true,
- "nsfwLevel": { },
- "browsingLevel": 0,
- "width": 0,
- "height": 0,
- "hash": "string",
- "type": "string",
- "hasMeta": true,
- "onSite": true,
- "createdAt": "2023-04-06T09:14:50.762Z",
- "postId": 0,
- "stats": {
- "cryCount": 0,
- "laughCount": 0,
- "likeCount": 0,
- "dislikeCount": 0,
- "heartCount": 0,
- "commentCount": 0
}, - "meta": {
- "resources": [
- {
- "name": "string",
- "type": "string",
- "hash": "string",
- "weight": 0.1
}
]
}, - "username": "string"
}
], - "metadata": {
- "totalItems": 46,
- "currentPage": 2,
- "pageSize": 3,
- "totalPages": 16,
}
}
limit | integer <int64> [ 0 .. 200 ] Default: 100 The number of results to be returned per page. This can be a number between 1 and 200. By default, each page will return 100 results. |
page | integer <int64> The page from which to start fetching models. |
query | string Search query to filter models by name. |
tag | string Search query to filter models by tag. |
username | string Search query to filter models by user. |
types | string Enum: "Checkpoint" "TextualInversion" "Hypernetwork" "AestheticGradient" "LORA" "LyCORIS" "Controlnet" "Wildcards" "Poses" "Other" The type of model you want to filter with. If none is specified, it will return all types. |
sort | string Enum: "Highest Rated" "Most Downloaded" "Newest" The order in which you wish to sort the results. |
period | string Enum: "AllTime" "Year" "Month" "Week" "Day" The time frame in which the models will be sorted. |
rating | number <int64> The rating you wish to filter the models with. If none is specified, it will return models with any rating. |
favorites | boolean Filter to favorites of the authenticated user (this requires an API token or session cookie). |
hidden | boolean Filter to hidden models of the authenticated user (this requires an API token or session cookie). |
primaryFileOnly | boolean Only include the primary file for each model (This will use your preferred format options if you use an API token or session cookie). |
{- "items": [
- {
- "id": 0,
- "name": "string",
- "description": "string",
- "type": "Checkpoint",
- "cosmetic": { },
- "minor": true,
- "poi": true,
- "nsfw": true,
- "nsfwLevel": 0,
- "allowNoCredit": true,
- "allowCommercialUse": [
- "None"
], - "allowDerivatives": true,
- "allowDifferentLicense": true,
- "stats": {
- "downloadCount": 0,
- "favoriteCount": 0,
- "thumbsUpCount": 0,
- "thumbsDownCount": 0,
- "commentCount": 0,
- "ratingCount": 0,
- "rating": 0.1,
- "tippedAmountCount": 0
}, - "creator": {
- "username": "string",
- "image": "string"
}, - "tags": [
- "string"
], - "modelVersions": [
- {
- "id": 0,
- "index": 0,
- "name": "string",
- "baseModel": "string",
- "baseModelType": "string",
- "publishedAt": "2019-08-24T14:15:22Z",
- "availability": "string",
- "nsfwLevel": 0,
- "description": "string",
- "trainedWords": [
- "string"
], - "earlyAccessTimeFrame": 0,
- "files": [
- {
- "name": "string",
- "id": 0,
- "sizeKB": 0.1,
- "type": "string",
- "format": "string",
- "pickleScanResult": "string",
- "pickleScanMessage": "string",
- "virusScanResult": "string",
- "virusScanMessage": "string",
- "scannedAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "format": "string",
- "size": "string",
- "fp": "string"
}, - "hashes": {
- "AutoV1": "95F8D0A7",
- "AutoV2": "95AFA0D9EA",
- "SHA256": "95AFA0D9EADAC2A04671ED18202FCF09C990148E1CD0AE477BF57F763B948615",
- "CRC32": "F28B4B59",
- "BLAKE3": "CC4CD6EA2B502C61B4BD86CA5C4B07AF269877877CEC7FB14EEAE846555CED1E"
}, - "downloadUrl": "string",
- "primary": true
}
], - "images": [
- {
- "id": 0,
- "url": "string",
- "nsfw": true,
- "nsfwLevel": { },
- "browsingLevel": 0,
- "width": 0,
- "height": 0,
- "hash": "string",
- "type": "string",
- "hasMeta": true,
- "onSite": true,
- "createdAt": "2023-04-06T09:14:50.762Z",
- "postId": 0,
- "stats": {
- "cryCount": 0,
- "laughCount": 0,
- "likeCount": 0,
- "dislikeCount": 0,
- "heartCount": 0,
- "commentCount": 0
}, - "meta": {
- "resources": [
- {
- "name": null,
- "type": null,
- "hash": null,
- "weight": null
}
]
}, - "username": "string"
}
], - "downloadUrl": "string"
}
]
}
], - "metadata": {
- "totalItems": 46,
- "currentPage": 2,
- "pageSize": 3,
- "totalPages": 16,
}
}
{- "id": 0,
- "name": "string",
- "description": "string",
- "type": "Checkpoint",
- "cosmetic": { },
- "minor": true,
- "poi": true,
- "nsfw": true,
- "nsfwLevel": 0,
- "allowNoCredit": true,
- "allowCommercialUse": [
- "None"
], - "allowDerivatives": true,
- "allowDifferentLicense": true,
- "stats": {
- "downloadCount": 0,
- "favoriteCount": 0,
- "thumbsUpCount": 0,
- "thumbsDownCount": 0,
- "commentCount": 0,
- "ratingCount": 0,
- "rating": 0.1,
- "tippedAmountCount": 0
}, - "creator": {
- "username": "string",
- "image": "string"
}, - "tags": [
- "string"
], - "modelVersions": [
- {
- "id": 0,
- "index": 0,
- "name": "string",
- "baseModel": "string",
- "baseModelType": "string",
- "publishedAt": "2019-08-24T14:15:22Z",
- "availability": "string",
- "nsfwLevel": 0,
- "description": "string",
- "trainedWords": [
- "string"
], - "earlyAccessTimeFrame": 0,
- "files": [
- {
- "name": "string",
- "id": 0,
- "sizeKB": 0.1,
- "type": "string",
- "format": "string",
- "pickleScanResult": "string",
- "pickleScanMessage": "string",
- "virusScanResult": "string",
- "virusScanMessage": "string",
- "scannedAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "format": "string",
- "size": "string",
- "fp": "string"
}, - "hashes": {
- "AutoV1": "95F8D0A7",
- "AutoV2": "95AFA0D9EA",
- "SHA256": "95AFA0D9EADAC2A04671ED18202FCF09C990148E1CD0AE477BF57F763B948615",
- "CRC32": "F28B4B59",
- "BLAKE3": "CC4CD6EA2B502C61B4BD86CA5C4B07AF269877877CEC7FB14EEAE846555CED1E"
}, - "downloadUrl": "string",
- "primary": true
}
], - "images": [
- {
- "id": 0,
- "url": "string",
- "nsfw": true,
- "nsfwLevel": { },
- "browsingLevel": 0,
- "width": 0,
- "height": 0,
- "hash": "string",
- "type": "string",
- "hasMeta": true,
- "onSite": true,
- "createdAt": "2023-04-06T09:14:50.762Z",
- "postId": 0,
- "stats": {
- "cryCount": 0,
- "laughCount": 0,
- "likeCount": 0,
- "dislikeCount": 0,
- "heartCount": 0,
- "commentCount": 0
}, - "meta": {
- "resources": [
- {
- "name": "string",
- "type": "string",
- "hash": "string",
- "weight": 0.1
}
]
}, - "username": "string"
}
], - "downloadUrl": "string"
}
]
}
{- "id": 0,
- "index": 0,
- "name": "string",
- "baseModel": "string",
- "baseModelType": "string",
- "publishedAt": "2019-08-24T14:15:22Z",
- "availability": "string",
- "nsfwLevel": 0,
- "description": "string",
- "trainedWords": [
- "string"
], - "earlyAccessTimeFrame": 0,
- "files": [
- {
- "name": "string",
- "id": 0,
- "sizeKB": 0.1,
- "type": "string",
- "format": "string",
- "pickleScanResult": "string",
- "pickleScanMessage": "string",
- "virusScanResult": "string",
- "virusScanMessage": "string",
- "scannedAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "format": "string",
- "size": "string",
- "fp": "string"
}, - "hashes": {
- "AutoV1": "95F8D0A7",
- "AutoV2": "95AFA0D9EA",
- "SHA256": "95AFA0D9EADAC2A04671ED18202FCF09C990148E1CD0AE477BF57F763B948615",
- "CRC32": "F28B4B59",
- "BLAKE3": "CC4CD6EA2B502C61B4BD86CA5C4B07AF269877877CEC7FB14EEAE846555CED1E"
}, - "downloadUrl": "string",
- "primary": true
}
], - "images": [
- {
- "id": 0,
- "url": "string",
- "nsfw": true,
- "nsfwLevel": { },
- "browsingLevel": 0,
- "width": 0,
- "height": 0,
- "hash": "string",
- "type": "string",
- "hasMeta": true,
- "onSite": true,
- "createdAt": "2023-04-06T09:14:50.762Z",
- "postId": 0,
- "stats": {
- "cryCount": 0,
- "laughCount": 0,
- "likeCount": 0,
- "dislikeCount": 0,
- "heartCount": 0,
- "commentCount": 0
}, - "meta": {
- "resources": [
- {
- "name": "string",
- "type": "string",
- "hash": "string",
- "weight": 0.1
}
]
}, - "username": "string"
}
], - "downloadUrl": "string"
}
{- "id": 0,
- "index": 0,
- "name": "string",
- "baseModel": "string",
- "baseModelType": "string",
- "publishedAt": "2019-08-24T14:15:22Z",
- "availability": "string",
- "nsfwLevel": 0,
- "description": "string",
- "trainedWords": [
- "string"
], - "earlyAccessTimeFrame": 0,
- "files": [
- {
- "name": "string",
- "id": 0,
- "sizeKB": 0.1,
- "type": "string",
- "format": "string",
- "pickleScanResult": "string",
- "pickleScanMessage": "string",
- "virusScanResult": "string",
- "virusScanMessage": "string",
- "scannedAt": "2019-08-24T14:15:22Z",
- "metadata": {
- "format": "string",
- "size": "string",
- "fp": "string"
}, - "hashes": {
- "AutoV1": "95F8D0A7",
- "AutoV2": "95AFA0D9EA",
- "SHA256": "95AFA0D9EADAC2A04671ED18202FCF09C990148E1CD0AE477BF57F763B948615",
- "CRC32": "F28B4B59",
- "BLAKE3": "CC4CD6EA2B502C61B4BD86CA5C4B07AF269877877CEC7FB14EEAE846555CED1E"
}, - "downloadUrl": "string",
- "primary": true
}
], - "images": [
- {
- "id": 0,
- "url": "string",
- "nsfw": true,
- "nsfwLevel": { },
- "browsingLevel": 0,
- "width": 0,
- "height": 0,
- "hash": "string",
- "type": "string",
- "hasMeta": true,
- "onSite": true,
- "createdAt": "2023-04-06T09:14:50.762Z",
- "postId": 0,
- "stats": {
- "cryCount": 0,
- "laughCount": 0,
- "likeCount": 0,
- "dislikeCount": 0,
- "heartCount": 0,
- "commentCount": 0
}, - "meta": {
- "resources": [
- {
- "name": "string",
- "type": "string",
- "hash": "string",
- "weight": 0.1
}
]
}, - "username": "string"
}
], - "downloadUrl": "string"
}
limit | integer <int64> [ 0 .. 200 ] Default: 20 The number of results to be returned per page. This can be a number between 1 and 200. By default, each page will return 20 results. If set to 0, it'll return all the tags. |
page | integer <int64> The page from which to start fetching tags. |
query | string Search query to filter tags by name. |
{- "items": [
- {
- "name": "string",
- "modelCount": 0,
- "link": "string"
}
], - "metadata": {
- "totalItems": 46,
- "currentPage": 2,
- "pageSize": 3,
- "totalPages": 16,
}
}