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

Feature Request: Multi-Import of Civitai URL #99

Open
GreenGhost21 opened this issue Jul 19, 2024 · 3 comments
Open

Feature Request: Multi-Import of Civitai URL #99

GreenGhost21 opened this issue Jul 19, 2024 · 3 comments

Comments

@GreenGhost21
Copy link

First off, I wanna say that I've been using this extension a great deal; I have spent more time as of late using this extension to install and organize models than actually using the WebUI for AI.

After using it as much as I have (which has included manual editing of exported JSON files, as well as several removals and reimports of all records), I feel that there could be some improvements made when dealing with a large amount of models, as I have been for the past couple of weeks.

Starting with downloading/importing:

  • Add a way to import a list of Civitai links at once. I'm not talking about the download queue system (which is, I feel, fine as-is), but the initial import of URLs that result in the creation of records. Downloading models has been tedious since I have to do it one-by-one.
    • Maybe show a list of the records to be imported, with model version dropdowns similar to the one already implemented in the current system?
    • It'd also be helpful if the "Edit before save" button could allow you to edit some details of all of the models (adding tags and specifying subfolder come to mind).

I will add to this if anything else on the subject comes to mind. I will also make another feature request soon, once I have a chance to write it all down.

Since I haven't explicitly said it yet: Thank you for making this extension!

@harukaxxxx
Copy link
Contributor

The batch download feature request is noted in #21 and #73, indicating that downloading multiple models in MO does not provide a good user experience. I have attempted to develop this feature before, but my coding skills have limited my success. I hope to see it realized in the future.

@GreenGhost21
Copy link
Author

For the record, I am OK with the current system of downloading models. It does have its issues (mainly what has been mentioned in the other issue posts), but it's at least workable. What I was getting at was that it would be helpful to import multiple records from Civitai at once. Putting in each url and waiting for the page fetch, then adding the subfolder, tends to be a bit of a tedious process when you're trying to add 10+ models one by one.

Incidentally, I think that allowing placeholder terms that allow for flexibility in structure (something like, %name% for the model name, %version% for the model version, %user% for the author's username, etc) would also be helpful with a multi-import system in place, or even with single downloads. One thing at a time, though, you know?

@Learwin
Copy link
Contributor

Learwin commented Aug 10, 2024

I like this suggestion and will try to implement it in my current WIP branch.
But I need some input from your side, maybe some clearer specification of th ui/ux.

How would you suggest the user specifies the list ?
Just a text field where each line is a valid model link ?

How should the version dropdown work ? Let's say you specify 20 links and press import. As soon as you hit a model with versions show a dropdown and you are required to then select a version unless you directly specify a link with version ?

The ability to specify a bunch of values which will be applied for all the imported models seems nice to have. What would be a good way to actually do this ..
Opening a small menu in which you can specify Tags which will be applied to all models imported through the bulk import.

Which fields would you like to be able to specify for all imported models ?

As for the placeholder terms I'm not exactly sure why you'd need to do that ?
I would love to hear how you imagine the user interface for this would look and what the usecases are cause at the moment I don't really see a use for the suggested placeholder values.

  • the name already gets populated when importing from civitai for example. Same for the version. You wouldn't really want to specify that for a bulk operation
  • I'm not sure what you would need the username for. There currently is no field that saves the author of a model and in my opinion it isn't really that useful to save such information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants