{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"ae085c16-d58b-4825-8d4e-41d85e754ae8","catalogType":"api","categories":["developer","data"],"dataPlatform":"civitai","dataPlatformLogoUrl":"https://api.sh/logos/civitai.png","dataPlatformTranslations":{},"dataProduct":"dev-reference","description":"Search Civitai models by keyword, creator, type and base model via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Apish, pass parameters such as output, query, and retrieve structured data including model identifier, source model type, version base model, source permission flags, and resolved search filters for filtered catalogue, and file selection.","descriptionTranslations":{"ar":"ابحث في بيانات نماذج Civitai بالكلمات والمنشئ والنوع والنموذج الأساسي، مع مرشحات الأذونات والفرز والصفحات بالمؤشر لبناء فهرس اكتشاف نماذج. استخدم المعرّفات والبيانات المنظمة لبناء فهرس اكتشاف أو ربط سجلات المصدر، مع الحفاظ على الإصدار ونطاق الوصول وسياق الاختيار وأمثلة الطلبات وتسعير التنفيذ الحالي في صفحة API.","ja":"キーワード・作成者・種別・ベースモデルで Civitai を検索し、許可属性・並べ替え・カーソルで絞り込めます。 返された識別子と構造化メタデータを検索カタログや出典連携に使い、版・アクセス範囲・選択条件を保持できます。API 詳細ページにはリクエスト例と選択した実装の料金があります。","zh":"按关键词、创作者、类型和基础模型搜索 Civitai，使用许可筛选、排序及游标分页构建 AI 模型发现目录。 可利用返回的标识和结构化元数据构建发现目录或关联来源记录，保留版本、访问范围及选择条件；API 详情页提供请求示例和当前实现价格。"},"effectContentHtml":"","executionMode":"sync","id":"7d1edd46-9956-40d4-a360-53897c353485","includedContentHtml":"","inputs":[{"description":"Keywords (model name).","location":"query","name":"query","nullable":false,"required":false,"type":"string"},{"description":"A tag, e.g. character or style.","location":"query","name":"tag","nullable":false,"required":false,"type":"string"},{"description":"Creator username.","location":"query","name":"username","nullable":false,"required":false,"type":"string"},{"description":"One or more model types, comma-separated.","location":"query","name":"types","nullable":false,"required":false,"type":"string"},{"description":"Hot, Highest Rated, Most Downloaded, Most Liked, Most Discussed, Most Collected, Most Images, Newest, Oldest or Recently Added.","enum_values":["Hot","Highest Rated","Most Downloaded","Most Liked","Most Discussed","Most Collected","Most Images","Newest","Oldest","Recently Added"],"location":"query","name":"sort","nullable":false,"required":false,"type":"string"},{"description":"Day, Week, Month, Year or AllTime (for the sort).","enum_values":["Day","Week","Month","Year","AllTime"],"location":"query","name":"period","nullable":false,"required":false,"type":"string"},{"description":"Base models, comma-separated (e.g. SDXL 1.0, Pony, Flux.1 D, SD 1.5).","location":"query","name":"base_models","nullable":false,"required":false,"type":"string"},{"description":"None, Image, RentCivit, Rent, Sell or SellMerge (comma-separated).","location":"query","name":"allow_commercial_use","nullable":false,"required":false,"type":"string"},{"description":"true/false: use without crediting the creator.","location":"query","name":"allow_no_credit","nullable":false,"required":false,"type":"boolean"},{"description":"true/false: merges and derivatives allowed.","location":"query","name":"allow_derivatives","nullable":false,"required":false,"type":"boolean"},{"description":"true/false: derivatives may use another licence.","location":"query","name":"allow_different_licenses","nullable":false,"required":false,"type":"boolean"},{"description":"true/false: can be run on the site's generator.","location":"query","name":"supports_generation","nullable":false,"required":false,"type":"boolean"},{"description":"true: only each version's primary file.","location":"query","name":"primary_file_only","nullable":false,"required":false,"type":"boolean"},{"description":"Model ids, comma-separated.","location":"query","name":"ids","nullable":false,"required":false,"type":"string"},{"description":"Models per page (1-10, default 10).","location":"query","name":"limit","nullable":false,"required":false,"type":"integer"},{"description":"`next_cursor` from the previous page.","location":"query","name":"cursor","nullable":false,"required":false,"type":"string"},{"description":"Opt in to adult content: `true` also returns adult models and images, each with its content rating (`nsfw`, `nsfw_level`). Default off.","location":"query","name":"include_nsfw","nullable":false,"required":false,"type":"boolean"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"Native CSV/NDJSON record selector; it has no effect on this JSON-only product.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/civitai.png","method":"GET","name":"Civitai models API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eCivitai Model Search API\u003c/h2\u003e\n\u003cp\u003eCombine query, tag, username, types and base_models with documented permission filters. limit bounds the page and cursor continues it; source license flags and supports_generation remain metadata, not an inference or licensing service.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eChoose the lookup or search inputs described below. Optional: query, tag, username, types, sort, period, base_models, allow_commercial_use, allow_no_credit, allow_derivatives, allow_different_licenses, supports_generation, primary_file_only, ids, limit, cursor, include_nsfw. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · Civitai models API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eFiltered catalogue\u003c/strong\u003e: Retain resolved filters alongside model and version identities.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eFile selection\u003c/strong\u003e: Use primary_file_only to narrow each version\u0026#39;s returned files when needed.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emodels[].id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eModel identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emodels[].type\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource model type\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emodels[].versions[].base_model\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eVersion base model\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003emodels[].license\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource permission flags\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eapplied_filters\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eResolved search filters\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003enext_cursor\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eContinuation cursor\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/civitai/v1/models \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode output=json \\\n  --data-urlencode query=anime\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/7d1edd46-9956-40d4-a360-53897c353485\"\u003ePublished Civitai Model Search API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eHow do I paginate?\u003c/h3\u003e\n\u003cp\u003elimit accepts 1–10 models, default 10. Omit cursor initially and pass next_cursor for subsequent pages.\u003c/p\u003e\n\u003ch3\u003eCan I filter base models and creator?\u003c/h3\u003e\n\u003cp\u003eYes. Use base_models with documented comma-separated values and username for a creator account.\u003c/p\u003e\n\u003ch3\u003eWhat do permission filters select?\u003c/h3\u003e\n\u003cp\u003eThey match source flags such as allow_commercial_use or allow_derivatives. Keep those flags with each result and review the exact model and base-model context.\u003c/p\u003e\n\u003ch3\u003eDoes supports_generation run a model?\u003c/h3\u003e\n\u003cp\u003eNo. It filters source-site generation support. This implementation returns JSON metadata; include_nsfw remains off by default.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass cached results?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or set output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/civitai/civitai-model-api\"\u003eCivitai model API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/civitai/civitai-model-version-api\"\u003eCivitai model version API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/civitai/civitai-models-api?offering=7d1edd46-9956-40d4-a360-53897c353485","providerId":"apish","publicPath":"/v1/agent-apis/apish/civitai/v1/models","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"output":"json","query":"anime"}},"response_body":{"applied_filters":{"query":"anime"},"cached":false,"count":10,"credits_used":1,"models":[{"availability":"Public","base_models":["SD 1.5"],"creator":{"image":null,"username":"CyberAIchemist"},"description":"\u003ch2\u003eUpdate information\u003c/h2\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003eV3.0 updated. Fine-tuned LoRA to improve the effects of generating characters with complex body limbs a…","id":16014,"license":{"allow_commercial_use":[],"allow_derivatives":true,"allow_different_license":true,"allow_no_credit":true},"minor":false,"name":"Anime Lineart / Manga-like (线稿/線画/マンガ風/漫画风) Style","poi":false,"stats":{"commentCount":0,"downloadCount":208327,"thumbsDownCount":5,"thumbsUpCount":21439,"tippedAmountCount":1043},"supports_generation":false,"tags":["lineart","art style","… 10 more"],"type":"LORA","url":"https://civitai.com/models/16014","versions":[{"availability":"Public","base_model":"SD 1.5","base_model_type":"Standard","created_at":null,"description":null,"download_url":"https://civitai.com/api/download/models/28907","files":[{"…":"9 fields"}],"id":28907,"images":[{"…":"11 fields"},{"…":"11 fields"},"… 14 more"],"model_id":16014,"name":"v3.0 manga-like","page_url":"https://civitai.com/models/16014?modelVersionId=28907","published_at":"2023-03-25T13:39:23.464Z","stats":{"…":"3 fields"},"status":null,"trained_words":["lineart, monochrome"],"updated_at":null},{"availability":"Public","base_model":"SD 1.5","base_model_type":"Standard","created_at":null,"description":"\u003cp\u003eV2.0 is updated! Trained with offset noise, and all demos are generated with Anything V4.5 base model and orange mix VAE.\u003c/p\u003e\u003cp\u003eWhat this…","download_url":"https://civitai.com/api/download/models/19075","files":[{"…":"9 fields"}],"id":19075,"images":[{"…":"11 fields"},{"…":"11 fields"},"… 14 more"],"model_id":16014,"name":"v2.0 offset","page_url":"https://civitai.com/models/16014?modelVersionId=19075","published_at":"2023-03-05T20:00:31.679Z","stats":{"…":"3 fields"},"status":null,"trained_words":["monochrome","lineart"],"updated_at":null},"… 1 more"]},{"availability":"Public","base_models":["SD 1.5"],"creator":{"image":null,"username":"CyberAIchemist"},"description":"\u003cp\u003eTrained on Phantom Star illustrations.\u003c/p\u003e\u003cp\u003eV3.1 updated. Improve consistency. Support for more varied backgrounds (use \u003ccode\u003e{} backgro…","id":11177,"license":{"allow_commercial_use":[],"allow_derivatives":true,"allow_different_license":true,"allow_no_credit":true},"minor":false,"name":"Anime Tarot Card Art Style LoRA (塔罗牌/タロットカード)","poi":false,"stats":{"commentCount":0,"downloadCount":89782,"thumbsDownCount":2,"thumbsUpCount":13477,"tippedAmountCount":524},"supports_generation":false,"tags":["illustration","style","… 4 more"],"type":"LORA","url":"https://civitai.com/models/11177","versions":[{"availability":"Public","base_model":"SD 1.5","base_model_type":"Standard","created_at":null,"description":"\u003cp\u003eImprove performance\u003c/p\u003e","download_url":"https://civitai.com/api/download/models/28609","files":[{"…":"9 fields"}],"id":28609,"images":[{"…":"11 fields"},{"…":"11 fields"},"… 7 more"],"model_id":11177,"name":"v3.1","page_url":"https://civitai.com/models/11177?modelVersionId=28609","published_at":"2023-03-24T22:12:16.903Z","stats":{"…":"3 fields"},"status":null,"trained_words":[],"updated_at":null},{"availability":"Public","base_model":"SD 1.5","base_model_type":"Standard","created_at":null,"description":"\u003cp\u003eV3.0 updated. Support for more varied backgrounds (use \u003ccode\u003e{} background\u003c/code\u003e to set). You can use it without any additional prompts,…","download_url":"https://civitai.com/api/download/models/28248","files":[{"…":"9 fields"}],"id":28248,"images":[{"…":"11 fields"},{"…":"11 fields"},"… 13 more"],"model_id":11177,"name":"v3.0","page_url":"https://civitai.com/models/11177?modelVersionId=28248","published_at":"2023-03-24T06:16:39.064Z","stats":{"…":"3 fields"},"status":null,"trained_words":["tarot"],"updated_at":null},"… 2 more"]},"… 8 more"],"next_cursor":"10","query":"anime"}}],"seoDescription":"Search Civitai models by keyword, creator, type via REST or MCP powered by Apish. Pay per call, no subscription. Built for filtered catalogue workflows.","updatedAt":"2026-12-03T02:45:53.295Z","usageInstructionsHtml":""}}