flutter: Error generating clear image: RequestFailedException(message: Invalid file 'image': unsupported mimetype ('application/octet-stream'). Supported file formats are 'image/jpeg', 'image/png', and 'image/webp'., statusCode: 400) ``` static Future<File?> generateClearImage(File file, String productName) async { try { final response = await OpenAI.instance.image.edit( model: "gpt-image-1", // Make sure to specify the model image: file, prompt: OpenAiPrompt.generateClearImagePrompt(productName), size: OpenAIImageSize.size1024, ); if (response.data.isNotEmpty && response.data.first.b64Json != null) { // Decode base64 image final bytes = base64Decode(response.data.first.b64Json!); // Save image locally final dir = await getTemporaryDirectory(); final newFile = File("${dir.path}/clear_image.png"); await newFile.writeAsBytes(bytes); return newFile; } else { return null; } } catch (e) { print("Error generating clear image: $e"); return null; } } ```