↑ ↓ to move, Enter to open, Esc to close

    AI-901Azure AI Fundamentals

    Switch exam

    Microsoft Azure

    aws Amazon Web Services

    Google Cloud

    ServiceNow

    Databricks

    Cisco

    Salesforce

    All exams and search
    Free exam

    AI-901 · Practice

    Question 6 of 11

    Question AI-901-078

    Drop-downChoose an answer.

    You deploy a model named gpt-image-1 in Microsoft Foundry.

    You need to ensure that an application can generate an image from a user prompt by using the OpenAI Images API.

    How should you complete the Python code?

    response = client.responses.( model="gpt-image-1", prompt=prompt )
    Enter check answerF flag←→ move