1. text
f-ai
  • image
    • ocr文字识别(推荐)
      POST
    • 图片转新海诚动漫风格
      POST
    • 图片转宫崎骏动漫风格
      POST
    • 人像动漫化
      POST
    • 人像卡通化
      POST
    • 前景背景分割
      POST
    • 人像分割
      POST
    • 证件照生成
      POST
    • 图像生成1年、3年、5年的秃头效果
      POST
    • 人脸关键点检测
      POST
    • 人脸检测
      POST
    • CRNN汉字识别
      POST
    • 轻量级中文OCR
      POST
    • 文字位置识别
      POST
    • 口罩检测(资源多, 效果较好)
      POST
    • 口罩检测(资源少, 效果较差)
      POST
  • text
    • 情感分析
      POST
    • 文本涉黄预测
      POST
    • 情话生成
      POST
    • 诗歌生成
      POST
    • 对联生成
      POST
    • 文图生成, 生成文本描述内容的图像
      POST
  • 首页
    GET
  1. text

诗歌生成

POST
https://f-ai-production.up.railway.app/api/v1/ernie_gen_poetry
最后修改时间:2022-10-05 08:18:16
责任人:未设置
beam_width: 生成文本条数, 默认为5条
输入诗歌开头(换行分隔),输出诗歌下文

请求参数

Body 参数application/x-www-form-urlencoded

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location 'https://f-ai-production.up.railway.app/api/v1/ernie_gen_poetry' \
--data-urlencode 'texts='

返回响应

🟢200Successful Response
application/json
Bodyapplication/json

示例
null
🟠422Validation Error
修改于 2022-10-05 08:18:16
上一页
情话生成
下一页
对联生成
Built with