How do I replicate browser interface dalle 3 gpt behavior using the API?