This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
import OpenAlImages let client = ImagesAPI(authToken: OPENAI_API_KEY) let response = try await client.create(prompt: "A cute cat") let response = try await client.edit( image: .url( Bundle.main.url(forResource: "image", withExtension: "png"), format: .png ), prompt: "Change the color of the sky" ) OpenAI finally made their latest image generation model available through the API! I'm planning to…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.