basitng / midjourney-py

Interacting with Midjourney API with ease
https://pypi.org/project/midjourney-py/
3 stars 1 forks source link

can you save one of the 4 generated images instead of all 4 ? #1

Closed raymerjacque closed 1 year ago

raymerjacque commented 1 year ago

can you select and save one of the 4 generated images instead of all 4 ?

basitng commented 1 year ago

You can upscale one of the four images generated depending on your choice. You could use the upscale method from the mid-journey.

basitng commented 1 year ago

python

from midjourney import Midjourney

midjourney = Midjourney( api_key="API_KEY", callback_uri="")

seed = midjourney.imagine("Monotone illustration of cat in style of Shiny Kistch pop art")

upscale = midjourney.upscale( task_id=seed, position="2")

print(upscale)