Phot.AI
    Phot.AI
    • Background Remover
      POST
    • Background Replacer
      POST
    • Color Restoration 2k
      POST
    • Color Restoration 4k
      POST
    • Enhancer 2k
      POST
    • Enhancer 4k
      POST
    • Image Extender(Outpaint)
      POST
    • Light Fix 2k
      POST
    • Light Fix 4k
      POST
    • Object Remover
      POST
    • Object Replacer
      POST
    • Old Photo Restoration 2k
      POST
    • Old Photo Restoration 4k
      POST
    • Text to Art
      POST
    • Upscaler 2k
      POST
    • Upscaler 4k
      POST
    • Order Status
      GET

      Object Replacer

      Develop Env
      Develop Env
      POST
      /external/api/v3/user_activity/object-replacer
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST '/external/api/v3/user_activity/object-replacer' \
      --header 'x-api-key: Paste your generated api-key here' \
      --header 'Content-Type: application/json' \
      --data-raw '{
      "source_url": "https://ai-image-editor-wasabi-bucket.apyhi.com/obj_replacer_assets/original_images/Frame 37.png",  // Replace with the URL of your input image
      "mask_url" : "https://ai-image-editor-wasabi-bucket.apyhi.com/3rd_party_assets/hat_mask.webp",  // Replace with your mark image url
      "prompt": "Replace with cone ice cream"  // Replace with your specific input prompt 
      }'
      Response Response Example
      {}

      Request

      Header Params
      x-api-key
      string 
      required
      Example:
      Paste your generated api-key here
      Content-Type
      string 
      required
      Example:
      application/json
      Body Params application/json
      source_url
      string 
      required
      mask_url
      string 
      required
      prompt
      string 
      required
      Examples

      Responses

      🟢200Success
      application/json
      Body
      object {0}
      Modified at 2024-07-30 06:33:43
      Previous
      Object Remover
      Next
      Old Photo Restoration 2k
      Built with