How to Find the Models You Need
How to Find the Models You Need
Novita AI offers multiple ways to query models.
- Directly invoking the REST API using your favorite tools or programming language
- Searching for models in the playground using a Civitai link
Using the REST API
Querying Checkpoint Models
The following example demonstrates how to query a checkpoint model using the REST API.
Request:
curl --location --request GET 'https://api.novita.ai/v3/model?filter.visibility=public&pagination.limit=10&pagination.cursor=c_0&filter.types=checkpoint&filter.source=civitai' \
--header 'Authorization: Bearer {{API Key}}' | jq '.models[].sd_name'
Response:
"realisticVisionV40_v40VAE-inpainting_81543.safetensors"
"meinahentai_v4_70340.safetensors"
"epicrealism_naturalSinRC1VAE_106430.safetensors"
"lawlassYiffymix20Furry_lawlasmixWithBakedIn_13264.safetensors"
"epicrealism_pureEvolutionV5_97793.safetensors"
"realisticAfmix_realisticAfmix_75178.safetensors"
"majicmixRealistic_v6_65516.safetensors"
"revAnimated_v122.safetensors"
"epicphotogasm_x_131265.safetensors"
"majicmixRealistic_v7_134792.safetensors"
Querying SDXL-Based Checkpoint Models
The following example demonstrates how to query an SDXL-based checkpoint model using the REST API.
Request:
curl --location --request GET 'https://api.novita.ai/v3/model?filter.visibility=public&pagination.limit=100&pagination.cursor=c_0&filter.types=checkpoint&filter.source=civitai' \
--header "Authorization: Bearer {{API Key}}" | jq -r '.models[] | select(.base_model | contains("SDXL")).sd_name_in_api'
Response:
"protovisionXLHighFidelity3D_release0630Bakedvae_154359.safetensors"
"protovisionXLHighFidelity3D_beta0520Bakedvae_106612.safetensors"
"crystalClearXL_ccxl_97637.safetensors"
"protovisionXLHighFidelity3D_releaseV660Bakedvae_207131.safetensors"
"protovisionXLHighFidelity3D_release0620Bakedvae_131308.safetensors"
"juggernautXL_version2_113240.safetensors"
"leosamsHelloworldSDXL_helloworldSDXL50_268813.safetensors"
"juggernautXL_version6Rundiffusion_151968.safetensors"
Querying LoRA Models
The following example demonstrates how to query a LoRA model using the REST API.
Request:
curl --location --request GET 'https://api.novita.ai/v3/model?filter.visibility=public&pagination.limit=10&pagination.cursor=c_0&filter.types=lora&filter.source=civitai' \
--header 'Authorization: Bearer {{API Key}}' | jq '.models[].sd_name'
Response:
"weight_slider_v2_91681"
"gender_slider_v1_87782"
"hair_length_slider_v1_88944"
"MyBreastHelperReducedRS_77310"
"loona-lora-v3-latest_8919"
"faceage_60965"
"ahegaov1A_36846"
"add_detail_44319"
"excessive_pubic_hair_125352"
"smug-07_50930"
Querying LoRA Models Based on SDXL
The following example demonstrates how to query an SDXL-based LoRA model using the REST API.
Request:
curl --location --request GET 'https://api.novita.ai/v3/model?filter.visibility=public&pagination.limit=100&pagination.cursor=c_200&filter.types=lora&filter.source=civitai' \
--header "Authorization: Bearer {{API Key}}" | jq -r '.models[] | select(.base_model | contains("SDXL")).sd_name_in_api'
Response:
"sdxl_photorealistic_slider_v1-0_91665"
"mycine_296833"
"SDXL_FILM_PHOTOGRAPHY_STYLE_BetaV0.4_139125"
Querying VAE Models
The following example demonstrates how to query a VAE model using the REST API.
Request:
curl --location --request GET 'https://api.novita.ai/v3/model?filter.visibility=public&pagination.limit=10&pagination.cursor=c_0&filter.types=vae&filter.source=civitai' \
--header 'Authorization: Bearer {{API Key}}' | jq '.models[].sd_name'
Response:
"anythingKlF8Anime2VaeFtMse840000_blessed2_137707.safetensors"
"color101VAE_v1_57292.pt"
"klF8Anime2VAE_klF8Anime2VAE_207314.safetensors"
"clearvae_v23_141093.safetensors"
Querying Embedding Models
The following example demonstrates how to query a textual inversion model using the REST API.
Request:
curl --location --request GET 'https://api.novita.ai/v3/model?filter.visibility=public&pagination.limit=10&pagination.cursor=c_0&filter.types=textualinversion&filter.source=civitai' \
--header 'Authorization: Bearer {{API Key}}' | jq '.models[].sd_name'
Response:
"MidAged"
"Adult"
"AS-Adult-neg"
"AS-Adult"
"AS-Elderly"
"AS-MidAged"
"AS-YoungerV2"
"AS-YoungestV2"
"AS-YoungV2-neg"
"AS-YoungV2"
Using the playground
Get civitai model url.
Access the Civitai URL on the models page. Currently, support is available for all three types of URLs mentioned below.
- In
https://civitai.com/models/12606/meinahentai
format - In
https://civitai.com/models/12606?modelVersionId=64046
format - In
https://civitai.com/models/12606
format
Enter the playground model page.
Enter the playground.
Search for models.
When the model do not exist in Novita AI, it will show the message "No model found!"
, you can apply for the model via Novita AI discord link.