1. 平台
AiToEarn
  • AI 服务
    • 视频生成
      • 生成视频
      • 视频任务列表
      • 查询视频任务状态
    • 图像生成
      • 图像生成模型参数
      • 图像编辑模型参数
      • 生成图像
      • 编辑图像
      • 异步生成图像
      • 异步编辑图像
      • 查询图像任务状态
    • 模型中转
      • 中转 Chat Completions(OpenAI 规范)
      • 中转 Messages(Anthropic 规范,SSE)
      • 中转 GenerateContent(Gemini 规范)
      • 中转 StreamGenerateContent(Gemini 规范,SSE)
      • 中转图像生成(OpenAI 规范)
      • 中转图像编辑(OpenAI 规范)
  • 渠道管理
    • 账号
      • 账号列表
      • 批量删除账号
      • 创建账号
      • 账号详情
      • 删除账号
      • 账号授权状态
      • 账号数据
      • 获取账号发布选项取值
      • 创建账号发布选项取值
    • 内容发布
      • 创建发布 Flow
      • 获取 Flow 详情
      • 立即发布
      • 重试发布任务
      • 取消发布任务
      • 修改发布时间
      • 更新已发布内容
      • 获取发布历史
      • 获取排队中的任务
      • 获取已发布的任务
      • 公开查询发布记录
      • 删除发布记录
      • 获取发布记录详情
      • 更新作品链接状态
      • 获取用户操作信息
    • 平台
      • 获取所有平台元数据
        GET
      • 获取平台动态发布选项
        GET
    • 互动
      • 获取评论列表
      • 发表评论
      • 调用互动函数
    • 作品
      • 解析作品链接
      • 获取账号作品列表
      • 获取作品详情
      • 获取作品数据
      • 验证作品归属
    • 账号分组
      • 账号分组列表
      • 创建账号分组
      • 删除账号分组
      • 更新账号分组
      • 更新分组内账号排序
    • 授权
      • 开始平台授权
      • 查询授权状态
  • 资源管理
    • 生成上传签名 URL
      POST
    • 确认资源上传
      POST
  • 数据模型
    • ChatModelConfigVo
    • UploadResultVo
    • ImageGenerationModelParamsVo
    • AssetVo
    • ClaudeChatProxyDto
    • ChannelAccountListVo
    • ChatCompletionVo
    • ImageEditModelParamsVo
    • RelayChatCompletionsDto
    • ChannelAccountVo
    • LogsListResponseVo
    • ImageResponseVo
    • RelayImageGenerationDto
    • ChannelAccountAuthStatusVo
    • AsyncTaskResponseVo
    • RelayImageEditDto
    • ChannelAccountAnalyticsVo
    • TaskStatusResponseVo
    • PublishOptionValuesVo
    • VideoGenerationResponseVo
    • PublishOptionCreatedValueVo
    • VideoTaskStatusResponseVo
    • ChannelAccountGroupVo
    • ListVideoTasksResponseVo
    • AuthStartVo
    • VideoGenerationModelParamsVo
    • AuthSessionStatusVo
    • ChannelPublishFlowVo
    • ChannelPublishTaskOperationVo
    • ChannelPublishRecordVo
    • VolcengineVideoGenerationResponseVo
    • ChannelPublicPublishRecordVo
    • VolcengineTaskStatusResponseVo
    • ChannelPublishUserActionVo
    • OpenAIVideoResponseVo
    • PlatformMetadataVo
    • SubmitAideoTaskResponseVo
    • PublishOptionSourceVo
    • AideoTaskStatusResponseVo
    • ChannelCommentListVo
    • ListAideoTasksResponseVo
    • ChannelEngagementActionVo
    • AssetListVo
    • ChannelWorkDataVo
    • ChannelWorkListVo
    • ChatStreamProxyDto
    • ChannelWorkAnalyticsVo
    • AiLogSettlementVo
    • ChannelWorkOwnershipVo
    • AiLogSettlementMetadataVo
  1. 平台

获取所有平台元数据

GET
/api/v2/channels/platforms
返回已注册平台的元数据列表,包括展示名、logo、能力声明等

请求参数

无

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location '/api/v2/channels/platforms'

返回响应

⚪default
application/json
Bodyapplication/json

示例
{
    "data": [
        {
            "platform": "douyin",
            "displayName": {
                "en-US": "string",
                "zh-CN": "string"
            },
            "logoUrl": "http://example.com",
            "authType": "oauth2",
            "authInstructions": {
                "en-US": "string",
                "zh-CN": "string"
            },
            "emptyAccountHint": {
                "title": {
                    "en-US": "string",
                    "zh-CN": "string"
                },
                "description": {
                    "en-US": "string",
                    "zh-CN": "string"
                },
                "action": {
                    "label": {
                        "en-US": "string",
                        "zh-CN": "string"
                    },
                    "url": "http://example.com"
                }
            },
            "editor": "none",
            "contentLimits": {
                "modes": [
                    "article2"
                ],
                "maxTitleLength": 0,
                "maxBodyLength": 0,
                "maxTotalTextLength": 0,
                "maxMediaCount": 0,
                "maxImages": 0,
                "maxVideos": 0
            },
            "mediaRules": {
                "imageFormats": [
                    "string"
                ],
                "videoFormats": [
                    "string"
                ],
                "maxImageSize": 0,
                "maxVideoSize": 0,
                "minVideoDuration": 0,
                "maxVideoDuration": 0,
                "minImageWidth": 0,
                "minImageHeight": 0,
                "maxImageWidth": 0,
                "maxImageHeight": 0,
                "aspectRatio": {
                    "min": 0,
                    "max": 0
                }
            },
            "topic": {
                "supported": true,
                "nativeField": true,
                "maxCount": 0,
                "maxTotalLength": 0
            },
            "capabilities": {
                "auth": {
                    "supported": true,
                    "revoke": true,
                    "selectableAccounts": true,
                    "refreshAccountAccess": true
                },
                "publish": {
                    "supported": true,
                    "cancel": true,
                    "update": true,
                    "verify": true,
                    "finalize": true,
                    "scheduleByPlatform": true,
                    "optionSources": true,
                    "completionStrategy": "sync"
                },
                "analytics": {
                    "account": true,
                    "work": true
                },
                "engagement": {
                    "comments": {
                        "list": {
                            "supported": true,
                            "pagination": {
                                "mode": "cursor",
                                "defaultLimit": 1,
                                "maxLimit": 1,
                                "supportsPrevious": true
                            },
                            "parameters": {
                                "querySchema": {
                                    "property1": "string",
                                    "property2": "string"
                                },
                                "bodySchema": {
                                    "property1": "string",
                                    "property2": "string"
                                },
                                "dataSchema": {
                                    "property1": "string",
                                    "property2": "string"
                                }
                            }
                        },
                        "create": {
                            "supported": true,
                            "parameters": {
                                "querySchema": {
                                    "property1": "string",
                                    "property2": "string"
                                },
                                "bodySchema": {
                                    "property1": "string",
                                    "property2": "string"
                                },
                                "dataSchema": {
                                    "property1": "string",
                                    "property2": "string"
                                }
                            }
                        }
                    },
                    "functions": [
                        {
                            "name": "delete_comment",
                            "label": {
                                "en-US": "string",
                                "zh-CN": "string"
                            },
                            "target": "work",
                            "parameters": {
                                "querySchema": {
                                    "property1": "string",
                                    "property2": "string"
                                },
                                "bodySchema": {
                                    "property1": "string",
                                    "property2": "string"
                                },
                                "dataSchema": {
                                    "property1": "string",
                                    "property2": "string"
                                }
                            }
                        }
                    ]
                },
                "work": {
                    "listWorks": true,
                    "listWorksPagination": {
                        "mode": "cursor",
                        "defaultLimit": 1,
                        "maxLimit": 1,
                        "supportsPrevious": true
                    },
                    "getLinkInfo": true,
                    "getDetail": true,
                    "verifyOwnership": true
                },
                "browse": {
                    "search": true,
                    "getDetail": true
                },
                "webhook": {
                    "supported": true
                }
            },
            "optionSchema": {
                "property1": "string",
                "property2": "string"
            },
            "defaultOption": {
                "property1": "string",
                "property2": "string"
            },
            "status": "hidden"
        }
    ],
    "code": 0,
    "message": "string",
    "requestId": "string"
}
修改于 2026-06-24 14:05:36
上一页
获取用户操作信息
下一页
获取平台动态发布选项
Built with