TextCortex
    TextCortex
    • Generate code
      POST
    • Generate SQL queries
      POST
    • Create ad
      POST
    • Create blog content
      POST
    • Autocomplete
      POST
    • Create email
      POST
    • Expand
      POST
    • Paraphrase
      POST
    • Create product description
      POST
    • Create product title
      POST
    • Rewrite
      POST
    • Simplify
      POST
    • Create social media post
      POST
    • Summarize
      POST
    • Translate
      POST
    • Create video description
      POST

      Create ad

      Develop Env
      https://dev.your-api-server.com
      Develop Env
      https://dev.your-api-server.com
      POST
      /texts/ads
      Create an ad for a product or service.

      Request

      Body Params application/json

      Examples

      Responses

      🟢200Success
      application/json
      Body

      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      curl --location --request POST 'https://dev.your-api-server.com/texts/ads' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "description": "string",
          "formality": "default",
          "keywords": [
              "string"
          ],
          "max_tokens": 2048,
          "mode": "general",
          "model": "chat-sophos-1",
          "n": 1,
          "name": "string",
          "promotion": "string",
          "source_lang": "string",
          "target_lang": "string",
          "temperature": null
      }'
      Response Response Example
      {
          "data": {
              "outputs": [
                  {
                      "index": 0,
                      "text": "A beautiful sentence hand crafted by TextCortex."
                  }
              ],
              "remaining_credits": 0
          },
          "status": "success"
      }
      Modified at 2024-07-29 08:38:40
      Previous
      Generate SQL queries
      Next
      Create blog content
      Built with