Openapi:3.0.3信息:标题:媒体分析器描述:媒体分析API版本:0.0.1服务器:-url:https://api.www.aaaalireno.com/v2标签:-description: | Currently supports the following analysis options: * [Google tagging](//www.aaaalireno.com/documentation/google_auto_tagging_addon) * [Captioning](//www.aaaalireno.com/documentation/cloudinary_ai_content_analysis_addon#ai_based_image_captioning) * [Cld Fashion](//www.aaaalireno.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models) * [Coco](//www.aaaalireno.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models) * [Lvis](//www.aaaalireno.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models) * [Unidet](//www.aaaalireno.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models) * [Human Anatomy](//www.aaaalireno.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models) * [Cld Text](//www.aaaalireno.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models) * [Shop Classifier](//www.aaaalireno.com/documentation/cloudinary_ai_content_analysis_addon#supported_content_aware_detection_models) operationId: analyze_uri security: - basicAuth: [] - OAuth2: - media_analysis requestBody: required: true description: A JSON object containing request parameters content: application/json: schema: $ref: "#/components/schemas/AnalyzeUriRequest" responses: '200': description: Analysis succeeded content: application/json: schema: $ref: '#/components/schemas/AnalyzeResponse' '202': description: Analysis request accepted content: application/json: schema: $ref: '#/components/schemas/AnalyzeAsyncResponse' '400': description: Bad request content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '401': description: Unauthorized content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '403': description: Forbidden content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '404': description: Asset not found content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '420': description: Rate limited content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' '500': description: Internal server error content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' components: securitySchemes: basicAuth: type: http scheme: basic OAuth2: type: oauth2 flows: authorizationCode: authorizationUrl: https://oauth.www.aaaalireno.com/oauth2/auth tokenUrl: https://oauth.www.aaaalireno.com/oauth2/token scopes: media_analysis: Analyze media parameters: cloudName: in: path name: cloud_name description: The name of your Cloudinary cloud example: your-cloud-name schema: type: string required: true schemas: AnalysisPayload: type: object required: [entity, analysis] properties: entity: type: string example: https://res.www.aaaalireno.com/demo/image/upload/sample.jpg analysis: type: object AnalyzeUriRequest: type: object properties: uri: type: string format: uri example: https://res.www.aaaalireno.com/demo/image/upload/sample.jpg description: The URI of the asset to analyze analysis_type: type: string description: The type of analysis to run enum: - captioning - cld_fashion - cld_text - coco - google_tagging - human_anatomy - lvis - shop_classifier - unidet AnalyzeResponse: type: object required: [data, request_id] properties: data: $ref: '#/components/schemas/AnalysisPayload' request_id: type: string example: 17c3b70c5096df0e77e838323abb7029 AnalyzeAsyncResponse: type: object required: [status, entity, task_id, request_id] properties: status: type: string entity: type: string task_id: type: string request_id: type: string example: 17c3b70c5096df0e77e838323abb7029 ErrorResponse: type: object properties: error: type: object example: category: user_error code: MA_00001 message: missing parameters details: parameters: [ param1, param2 ] request_id: 17c3b70c5096df0e77e838323abb7029 properties: category: type: string enum: [user_error, auth_error, server_error, rate_limit_error] example: user_error code: type: string example: MA_00001 message: type: string example: missing parameters details: type: object example: parameters: [ uri, analysis_type ] request_id: type: string example: 17c3b70c5096df0e77e838323abb7029
Baidu
map