joshehlinger / wombo_extract

MIT License
2 stars 1 forks source link

input image mediastore ID #4

Open kilik128 opened 1 year ago

kilik128 commented 1 year ago

how we got mediastore ID ? got this

J:\reddle\wombo_extract-master\wombo_extract-master>C:\Users\Kilik\AppData\Local\Programs\Python\Python37-

ArgumentParser(prog='run.py', usage=None, description=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=True) Traceback (most recent call last): File "J:\reddle\wombo_extract-master\wombo_extract-master\run.py", line 75, in sys.exit(main()) File "J:\reddle\wombo_extract-master\wombo_extract-master\run.py", line 71, in main extractor.generate() File "J:\reddle\wombo_extract-master\wombo_extract-master\wombo\extract.py", line 179, in generate task_id = self.start_task() File "J:\reddle\wombo_extract-master\wombo_extract-master\wombo\extract.py", line 127, in start_task resp.raise_for_status() File "C:\Users\Kilik\AppData\Local\Programs\Python\Python37-32\lib\site-packages\httpx_models.py", line 749, in raise_for_status raise HTTPStatusError(message, request=request, response=self) httpx.HTTPStatusError: Client error '422 Unprocessable Entity' for url 'https://paint.api.wombo.ai/api/v2/tasks' For more information check: https://httpstatuses.com/422

joshehlinger commented 1 year ago

What arguments are you passing?

kilik128 commented 1 year ago

"mediastore_id":"c85b73b6-57fa-4e84-bbed-74c383cc16ff"

muad-dabs commented 1 year ago

"mediastore_id":"c85b73b6-57fa-4e84-bbed-74c383cc16ff"

Are you using a fresh upload? Wombo's server only stores input images for 48 hours.

kilik128 commented 1 year ago

yes for sure we can upload directly with dream-api-1.1.0