Skip to main content
Method: client.CreateImageEdit(...)

उदाहरण

मुख्य पैरामीटर

  • model (ज़रूरी): image-edit सक्षम model ID।
  • image (ज़रूरी): source image का stream या file।
  • prompt: संपादन के लिए एक वैकल्पिक नया निर्देश।
  • mask: वैकल्पिक मास्क (पारदर्शी क्षेत्र संपादित होते हैं)।
  • n (1–10): edited variants की संख्या।
  • size: जैसे 1024x1024, 1024x1792, 1792x1024।
  • response_format: url या b64_json।
  • user: अंतिम उपयोगकर्ता का वैकल्पिक टैग।

लौटाया गया मान

ImageGenerationResponse
अंतिम संशोधन 2 अक्टूबर 2026