Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Model searching bug in the API #933

Open
thecooltechguy opened this issue Jan 6, 2024 · 0 comments
Open

[Bug]: Model searching bug in the API #933

thecooltechguy opened this issue Jan 6, 2024 · 0 comments
Labels
bug-report Something might not be working

Comments

@thecooltechguy
Copy link

What happened?

Hi! Is it possible to search for models in the API using the filename and sha256 checksum? When I try to use these values in the query parameter, it doesn't seem to work.

Steps to reproduce the problem

  1. Searching by model filename in the API doesn't return any results: curl https://civitai.com/api/v1/models\?query=etherRealMix_etherRealMix31.safetensors -H "Content-Type: application/json"

What should have happened?

The API should return model results where the filename and/or sha256 checksum from the input, matches.

This greatly helps in many scenarios, such as finding model download links for checkpoint names used in ComfyUI workflows, etc.

What platforms do you use to access the site?

MacOS

What browsers do you use to access the site?

Google Chrome

Additional information, context and logs

No response

@thecooltechguy thecooltechguy added the bug-report Something might not be working label Jan 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-report Something might not be working
Projects
None yet
Development

No branches or pull requests

1 participant