{
  "openapi": "3.1.0",
  "info": {
    "title": "ContentForge",
    "version": "1.0.0",
    "x-guidance": "URL-to-content pipeline - LinkedIn post, tweets, newsletter, and SEO copy. $0.15/job via x402 USDC on Base.  |  Also from LoneStarOracle: Floyd (floyd.lonestaroracle.xyz)  |  NewsSentiment (news.lonestaroracle.xyz)  |  Full catalog: lonestaroracle.xyz",
    "contact": {
      "email": "jay@lonestaroracle.xyz"
    },
    "description": "Turn a URL or article into repurposed social and blog content. POST /repurpose.",
    "x-x402-proof": "https://content.lonestaroracle.xyz/.well-known/x402-proof"
  },
  "externalDocs": {
    "url": "https://docs.lonestaroracle.xyz",
    "description": "LoneStarOracle API & integration docs"
  },
  "paths": {
    "/": {
      "get": {
        "summary": "Root",
        "operationId": "root__get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-payment-info": {
          "authMode": "free",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          },
          "protocols": []
        }
      }
    },
    "/preview": {
      "get": {
        "summary": "Preview",
        "operationId": "preview_preview_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-payment-info": {
          "authMode": "free",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          },
          "protocols": []
        }
      }
    },
    "/repurpose": {
      "post": {
        "summary": "Content Repurposing",
        "operationId": "repurpose_repurpose_post",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          },
          "402": {
            "description": "Payment Required"
          }
        },
        "x-payment-info": {
          "authMode": "payment",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.150000"
          },
          "protocols": [
            {
              "x402": {}
            }
          ],
          "inputSchema": {
            "type": "object",
            "properties": {
              "url": {
                "type": "string",
                "description": "YouTube video or article URL to repurpose"
              },
              "tone": {
                "type": "string",
                "description": "Optional: professional, casual, or witty (default: professional)"
              }
            },
            "required": [
              "url"
            ]
          },
          "outputSchema": {
            "type": "object",
            "properties": {
              "source_title": {
                "type": "string"
              },
              "linkedin": {
                "type": "string",
                "description": "~200 word LinkedIn post"
              },
              "tweets": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "description": "3 tweet-length posts"
              },
              "newsletter": {
                "type": "string",
                "description": "~120 word newsletter blurb"
              },
              "seo_summary": {
                "type": "string",
                "description": "Meta description + 5 SEO keywords"
              },
              "word_count": {
                "type": "integer"
              },
              "source_type": {
                "type": "string"
              }
            }
          }
        },
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "url"
                ],
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "URL of the article, blog post, or report to repurpose"
                  },
                  "tone": {
                    "type": "string",
                    "enum": [
                      "professional",
                      "casual",
                      "witty"
                    ],
                    "default": "professional",
                    "description": "Tone for generated content"
                  }
                }
              }
            }
          }
        },
        "description": "Turn a URL or article into repurposed social and blog content. POST /repurpose.",
        "tags": [
          "content",
          "marketing",
          "repurpose",
          "social",
          "writing"
        ]
      }
    },
    "/health": {
      "get": {
        "summary": "Health",
        "operationId": "health_health_get",
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {}
              }
            }
          }
        },
        "x-payment-info": {
          "authMode": "free",
          "price": {
            "mode": "fixed",
            "currency": "USD",
            "amount": "0.000000"
          },
          "protocols": []
        }
      }
    }
  }
}