Generate one big 3 x 3 image via the Dalle-2 API?

Hello. Is there a way to make Dalle-2 create 9 images that are all part of the same larger image?

For example, suppose I wanted 9 images, 1024 x 1024 in size, that when laid flat in a 3 x 3 square, would make one big picture of a sky, with each image being one part of it. I want this instead of generating 9 images, with each image looking like a different variation of a different sky.

Is there a way to do that with Dalle-2? Perhaps a setting with the Dalle-2 API or a way to craft a prompt that does this?

Outpainting might be able to achieve what you’re describing.

Alternatively you can try generating an image and then upscaling it.

2 Likes

Thanks, but I don’t see how to do Outpainting via the Dalle-2 API?

The edits endpoint can be used to implement this.

The image edits endpoint allows you to edit and extend an image by uploading a mask. The transparent areas of the mask indicate where the image should be edited, and the prompt should describe the full new image, not just the erased area . This endpoint can enable experiences like the editor in our DALL·E preview app.

2 Likes