@Ashish Ranjan Access to DALLE-2 models with text to image capabilities can be obtained by submitting a request through this form. If you already have access to OpenAI resource this request is still required for DALLE-2 models.
Also, DALLE-2 models do not support inpainting/editing at this time.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.