five

Text To Emotions

收藏
RapidAPI2026-01-04 更新2024-05-21 收录
下载链接:
https://rapidapi.com/fletcherrippon/api/text-to-emotions2
下载链接
链接失效反馈
官方服务:
资源简介:
Text To Emotions API, a powerful text analysis tool designed to unveil the underlying emotions in any given text. This innovative API takes textual input and processes it to provide a comprehensive emotional profile with values ranging from 0 to 1, enabling a more nuanced understanding of the emotions conveyed.
创建时间:
2026-01-04
原始信息汇总

Text To Emotions API 数据集概述

基本信息

  • 数据集名称: Text To Emotions
  • 类别: Text Analysis
  • 提供者: Fletcher Rippon
  • 订阅者数量: 2
  • API版本: v1 (current)
  • API规范: OpenAPI 3.0.2
  • 定价模型: Freemium
  • 免费层限制: 120 requests per minute

定价方案

  • BASIC: $0.00 / mo
  • PRO: $1.99 / mo
  • ULTRA: $4.99 / mo
  • MEGA: $0.00 / ---

功能描述

Text To Emotions API 是一个 RESTful API,旨在通过文本分析揭示给定文本中潜在的情感。该API处理文本输入,提供一个从0到1的全面情感分析图谱,以更细致地理解文本所传达的情感。

端点列表

  1. Read Root

    • 路径: /
    • 方法: GET
    • 描述: 返回成功响应以指示API正在运行。
    • 响应: 200 OK
  2. Predict Emotions (Single Text)

    • 路径: /predict-emotions/:{text}
    • 方法: GET
    • 描述: 预测URL路径中给定文本的情感。
    • 参数: text (必需, string, in path)
    • 响应: 200 OK, 422 Validation Error
  3. Predict Emotions (Multiple Texts)

    • 路径: /predict-emotions-many/:{texts}
    • 方法: GET
    • 描述: 预测URL路径中多个文本的情感。
    • 参数: texts (必需, string, in path)
    • 响应: 200 OK, 422 Validation Error
  4. Predict Emotions (Single Text, POST)

    • 路径: /predict-emotions
    • 方法: POST
    • 描述: 预测请求体中给定文本的情感。
    • 请求体: application/json with Text schema
    • 响应: 200 OK, 422 Validation Error
  5. Predict Emotions (Multiple Texts, POST)

    • 路径: /predict-emotions-many
    • 方法: POST
    • 描述: 预测请求体中多个文本的情感。
    • 请求体: application/json with Texts schema
    • 响应: 200 OK, 422 Validation Error
  6. Predict Emotion (Single Text)

    • 路径: /predict-emotion/:{text}
    • 方法: GET
    • 描述: 预测URL路径中给定文本的主要(主导)情感。
    • 参数: text (必需, string, in path)
    • 响应: 200 OK, 422 Validation Error
  7. Predict Emotion (Multiple Texts)

    • 路径: /predict-emotion-many/:{texts}
    • 方法: GET
    • 描述: 预测URL路径中多个文本的主要(主导)情感。
    • 参数: texts (必需, string, in path)
    • 响应: 200 OK, 422 Validation Error
  8. Predict Emotion (Single Text, POST)

    • 路径: /predict-emotion
    • 方法: POST
    • 描述: 预测请求体中给定文本的主要(主导)情感。
    • 请求体: application/json with Text schema
    • 响应: 200 OK, 422 Validation Error
  9. Predict Emotion (Multiple Texts, POST)

    • 路径: /predict-emotion-many
    • 方法: POST
    • 描述: 预测请求体中多个文本的主要(主导)情感。
    • 请求体: application/json with Texts schema
    • 响应: 200 OK, 422 Validation Error

数据模式

  • Text: 具有单个text属性(字符串)的对象。
  • Texts: 具有单个texts属性(字符串数组)的对象。
  • HTTPValidationError: 包含验证错误详细信息的对象。
  • ValidationError: 包含单个验证错误详细信息的对象。
搜集汇总
数据集介绍
main_image_url
背景与挑战
背景概述
Text To Emotions数据集提供API服务,通过分析文本内容输出0到1范围的情感数值,帮助用户深入理解文本中蕴含的多种情感维度。
以上内容由遇见数据集搜集并总结生成
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作