一键重装系统工具 | U盘启动盘制作工具 | 误删文件恢复软件 | 硬盘数据抢救专家 | 电脑蓝屏修复助手 | C盘空间清理神器 | 电脑驱动离线安装工具 | 微信聊天记录恢复工具 | 照片误格式化恢复 | 电脑密码破解清除工具 | 系统崩溃紧急救援盘 | 电脑加速优化大师 | 电脑开不了机怎么重装系统 | 回收站清空了怎么恢复 | 硬盘分区丢失数据恢复 | 电脑卡顿重装系统有用吗 | U盘插入提示格式化数据恢复 | 电脑中毒文件被隐藏恢复 | 忘记电脑开机密码怎么办 | 新硬盘分区对齐工具 | 旧电脑装Win10流畅工具 | SD卡照片删除恢复免费版 | 移动硬盘打不开提示损坏修复 | 电脑无故重启系统修复工具 | 电脑小白一键重装神器 | 程序员电脑环境配置助手 | 设计师电脑字体/素材恢复工具 | 网吧网管系统维护工具箱 | 财务人员电脑发票备份恢复 | 学生党免费电脑系统安装包 | 电脑维修师傅必备工具盘 | 游戏玩家电脑性能优化助手 | 办公白领误删文档恢复软件 | 自媒体视频素材恢复工具 | 网课录制视频损坏修复工具 | 最好的U盘PE系统排名 | 数据恢复软件哪个最强 | 免费电脑助手与收费版区别 | 国产装机工具哪款无广告 | 离线版驱动助手推荐 | 轻量级电脑优化工具对比 | 支持NVMe驱动的PE工具 | 带网络功能的应急启动盘 | 2026最新版万能装机工具 | 支持Win11 24H2的PE工具 | 最新免激活系统重装工具 | 2026数据恢复软件破解版合集 | 纯净无捆绑装机助手V3.0 | 支持苹果M芯片的电脑助手 | 秋季更新版系统维护工具箱 | 电脑系统崩了怎么用U盘把重要资料拷贝出来 | 重装系统前哪些文件夹必须备份 | 固态硬盘误格式化还能恢复数据吗 | 如何制作一个既带PE又能存数据的双分区U盘 | 电脑总是弹窗广告用什么助手彻底拦截 后台管理
📢 欢迎访问系统之家!所有资源均经过安全检测。

Photopea API

发布时间:2026-08-11 | 浏览:13
📥 下载地址(文章开头)
软件神器安装一切软件。
Photopea can be configured using a parameter after a hash sign. Such URL can be opened directly, or used as a src of an iframe . String value is encoded into the URL using classic encoding of query parameters (space as %20 etc.). It corresponds to encodeURIComponent() in Javascript or urlencode() in PHP. This string contains a JSON object. JSON configuration object JSON object must have the following structure: All parameters are optional. Data URIs can be used - file can be passed inside a request ( test ). files - array of files, that are loaded when Photopea starts resources - array of resources (gradients, brushes, fonts ...) server - parameters for saving documents back to a server version - the version of the API url - URL address of a server formats - formats, in which a document should be sent to a server. The string format corresponds to saveToOE . version - the version of the API url - URL address of a server formats - formats, in which a document should be sent to a server. The string format corresponds to saveToOE . environment - parameters of the environment, see Environment apis - some features are done by third parties. Enter your own API keys to use them. dezgo - Dezgo API key to unlock the Magic Replace and "Remove BG" with Dezgo dezgoURL - all Dezgo requests will go to a server specified by this URL, in the same format (same API). Works only if "dezgo" (above) is specified. dezgo - Dezgo API key to unlock the Magic Replace and "Remove BG" with Dezgo dezgoURL - all Dezgo requests will go to a server specified by this URL, in the same format (same API). Works only if "dezgo" (above) is specified. script - the script , that should be executed after loading each file (can be long) Saving to server When server parameter is specified in a request to Photopea.com, every document opened in Photopea will have the File - Save option. After a user clicks it, document data are sent to your server in a HTTP request using POST method.
📥 下载地址(文章中间)
软件神器安装一切软件。
Photopea will send binary data (a sequence of bytes) to your server, which has two parts: 2000 Bytes - JSON data the rest - one or more image files The JSON will have a following structure: source - if the file was loaded from your server, the value is the URL of this document. Otherwise (opening a local file, creating an empty file), it contains "local,X,NAME" , where X is the integer ID of the document, and NAME is the name of the document versions different versions of your document format - format of the file, exported from Photopea start, size - file offset and the size (relative, from the end of JSON) format - format of the file, exported from Photopea start, size - file offset and the size (relative, from the end of JSON) Here is a short PHP example, which accepts files from Photopea. After the server receives a file, it can send back a JSON response with optional String parameters: message - when specified, will be displayed to the user for a moment script - when specified, will be executed (e.g. you can call app.echoToOE("saved"); ) newSource - when specified, will be used as a new value of "source" for saving to a server in the future (can be useful, when a file was created within Photopea: "source" was "local,...") Cross-Origin Resource Sharing For security reasons, webapps can access only files from the same domain. In order to let Photopea load your file, the response of your server must contain the following header: Access-Control-Allow-Origin: * Find out more at CORS specification or at enable-cors.org . Prices Usage of Photopea API is completely free. Keep in mind, that PP is in early stages of development and there may be critical bugs. We do not take any responsibility for documents edited or generated by Photopea. If you want to hide advertisement and "colorful buttons", and use a whitelabel mode , look at Distributor account . Access-Control-Allow-Origin: * Find out more at CORS specification or at enable-cors.org . Prices Usage of Photopea API is completely free. Keep in mind, that PP is in early stages of development and there may be critical bugs. We do not take any responsibility for documents edited or generated by Photopea. If you want to hide advertisement and "colorful buttons", and use a whitelabel mode , look at Distributor account . Find out more at CORS specification or at enable-cors.org . Usage of Photopea API is completely free. Keep in mind, that PP is in early stages of development and there may be critical bugs. We do not take any responsibility for documents edited or generated by Photopea. If you want to hide advertisement and "colorful buttons", and use a whitelabel mode , look at Distributor account .
📥 下载地址(文章结尾)
软件神器安装一切软件。